|
@@ -66,11 +66,11 @@ endif
|
|
|
|
|
|
CPPFLAGS_vmlinux.lds := -DTEXT_START="$(ZTEXTADDR)" -DBSS_START="$(ZBSSADDR)"
|
|
CPPFLAGS_vmlinux.lds := -DTEXT_START="$(ZTEXTADDR)" -DBSS_START="$(ZBSSADDR)"
|
|
|
|
|
|
-suffix_$(CONFIG_KERNEL_GZIP) = gzip
|
|
|
|
-suffix_$(CONFIG_KERNEL_LZO) = lzo
|
|
|
|
-suffix_$(CONFIG_KERNEL_LZMA) = lzma
|
|
|
|
-suffix_$(CONFIG_KERNEL_XZ) = xzkern
|
|
|
|
-suffix_$(CONFIG_KERNEL_LZ4) = lz4
|
|
|
|
|
|
+compress-$(CONFIG_KERNEL_GZIP) = gzip
|
|
|
|
+compress-$(CONFIG_KERNEL_LZO) = lzo
|
|
|
|
+compress-$(CONFIG_KERNEL_LZMA) = lzma
|
|
|
|
+compress-$(CONFIG_KERNEL_XZ) = xzkern
|
|
|
|
+compress-$(CONFIG_KERNEL_LZ4) = lz4
|
|
|
|
|
|
# Borrowed libfdt files for the ATAG compatibility mode
|
|
# Borrowed libfdt files for the ATAG compatibility mode
|
|
|
|
|
|
@@ -174,7 +174,7 @@ $(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.o \
|
|
@$(check_for_bad_syms)
|
|
@$(check_for_bad_syms)
|
|
|
|
|
|
$(obj)/piggy_data: $(obj)/../Image FORCE
|
|
$(obj)/piggy_data: $(obj)/../Image FORCE
|
|
- $(call if_changed,$(suffix_y))
|
|
|
|
|
|
+ $(call if_changed,$(compress-y))
|
|
|
|
|
|
$(obj)/piggy.o: $(obj)/piggy_data
|
|
$(obj)/piggy.o: $(obj)/piggy_data
|
|
|
|
|