Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.5.75 /usr/Makefile

Filename:/usr/Makefile
Lines Added:3
Lines Deleted:5
Also changed in: (Previous) 2.5.65  2.5.64-bk12  2.5.64-bk11  2.5.64-bk10  2.5.64-bk9  2.5.64-bk8 
(Following)

Location
[  2.5.75
  [  usr
     o  Makefile

Patch

diff -Nru a/usr/Makefile b/usr/Makefile
--- a/usr/Makefile   Thu Jul 10 13:16:27 2003
+++ b/usr/Makefile   Thu Jul 10 13:16:27 2003
@@ -5,11 +5,9 @@
 
 clean-files := initramfs_data.cpio.gz
 
-LDFLAGS_initramfs_data.o := $(LDFLAGS_BLOB) -r -T
-
-$(obj)/initramfs_data.o: $(src)/initramfs_data.scr \
-          $(obj)/initramfs_data.cpio.gz FORCE
-   $(call if_changed,ld)
+$(src)/initramfs_data.S: $(obj)/initramfs_data.cpio.gz
+   echo "   .section .init.ramfs,\"a\"" > $(src)/initramfs_data.S
+   echo ".incbin \"usr/initramfs_data.cpio.gz\"" >> $(src)/initramfs_data.S
 
 # initramfs-y are the programs which will be copied into the CPIO
 # archive. Currently, the filenames are hardcoded in gen_init_cpio,


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.