X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=usr%2FMakefile;fp=usr%2FMakefile;h=6faa444b7087bc947e431221d64c843db00b3177;hb=6ae64e428f74e7bacab898ef9665dda719ea6fde;hp=6b4b6da0b67d948d8b027622a486a3e1d8b49bc1;hpb=ef894870c6c38580e540c29cfb22a827d54a950a;p=~andy%2Flinux diff --git a/usr/Makefile b/usr/Makefile index 6b4b6da0b67..6faa444b708 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -18,13 +18,15 @@ suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZMA) = .lzma # Lzo suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZO) = .lzo +AFLAGS_initramfs_data.o += -DINITRAMFS_IMAGE="usr/initramfs_data.cpio$(suffix_y)" + # Generate builtin.o based on initramfs_data.o -obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data$(suffix_y).o +obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o # initramfs_data.o contains the compressed initramfs_data.cpio image. # The image is included using .incbin, a dependency which is not # tracked automatically. -$(obj)/initramfs_data$(suffix_y).o: $(obj)/initramfs_data.cpio$(suffix_y) FORCE +$(obj)/initramfs_data.o: $(obj)/initramfs_data.cpio$(suffix_y) FORCE ##### # Generate the initramfs cpio archive