--- linux/usr/Makefile.binary Mon Mar 24 14:00:45 2003 +++ linux/usr/Makefile Wed Jun 11 15:44:23 2003 @@ -5,11 +5,9 @@ host-progs := gen_init_cpio 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, --- linux/usr/initramfs_data.scr.binary Mon Mar 24 14:00:11 2003 +++ linux/usr/initramfs_data.scr Wed Jun 11 15:44:32 2003 @@ -1,4 +0,0 @@ -SECTIONS -{ - .init.ramfs : { *(.data) } -}