|
@@ -21,12 +21,15 @@ CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000
|
|
CONFIG_ENTRY_OFFSET ?= 0x00001000
|
|
CONFIG_ENTRY_OFFSET ?= 0x00001000
|
|
|
|
|
|
suffix-y := bin
|
|
suffix-y := bin
|
|
-suffix-$(CONFIG_KERNEL_GZIP) := gz
|
|
|
|
-suffix-$(CONFIG_KERNEL_BZIP2) := bz2
|
|
|
|
-suffix-$(CONFIG_KERNEL_LZMA) := lzma
|
|
|
|
-
|
|
|
|
-targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma uImage.bin
|
|
|
|
-extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma
|
|
|
|
|
|
+suffix-$(CONFIG_KERNEL_GZIP) := gz
|
|
|
|
+suffix-$(CONFIG_KERNEL_BZIP2) := bz2
|
|
|
|
+suffix-$(CONFIG_KERNEL_LZMA) := lzma
|
|
|
|
+suffix-$(CONFIG_KERNEL_LZO) := lzo
|
|
|
|
+
|
|
|
|
+targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \
|
|
|
|
+ uImage.bz2 uImage.lzma uImage.lzo uImage.bin
|
|
|
|
+extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
|
|
|
|
+ vmlinux.bin.lzo
|
|
subdir- := compressed romimage
|
|
subdir- := compressed romimage
|
|
|
|
|
|
$(obj)/zImage: $(obj)/compressed/vmlinux FORCE
|
|
$(obj)/zImage: $(obj)/compressed/vmlinux FORCE
|
|
@@ -80,6 +83,9 @@ $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
|
|
$(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
|
|
$(obj)/vmlinux.bin.lzma: $(obj)/vmlinux.bin FORCE
|
|
$(call if_changed,lzma)
|
|
$(call if_changed,lzma)
|
|
|
|
|
|
|
|
+$(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
|
|
|
|
+ $(call if_changed,lzo)
|
|
|
|
+
|
|
$(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2
|
|
$(obj)/uImage.bz2: $(obj)/vmlinux.bin.bz2
|
|
$(call if_changed,uimage,bzip2)
|
|
$(call if_changed,uimage,bzip2)
|
|
|
|
|
|
@@ -89,6 +95,9 @@ $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz
|
|
$(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma
|
|
$(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma
|
|
$(call if_changed,uimage,lzma)
|
|
$(call if_changed,uimage,lzma)
|
|
|
|
|
|
|
|
+$(obj)/uImage.lzo: $(obj)/vmlinux.bin.lzo
|
|
|
|
+ $(call if_changed,uimage,lzo)
|
|
|
|
+
|
|
$(obj)/uImage.bin: $(obj)/vmlinux.bin
|
|
$(obj)/uImage.bin: $(obj)/vmlinux.bin
|
|
$(call if_changed,uimage,none)
|
|
$(call if_changed,uimage,none)
|
|
|
|
|