aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-08 18:32:47 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-05-08 20:16:22 -0400
commit283ab1c0bd462dd0b179393fb081a626f6687413 (patch)
tree0dd47e079b6b533864c7c1dbf106ccae36a17da7 /arch
parent5f11e02019ef44f041e6e38a1363fa2fd4b8785d (diff)
x86, boot: follow standard Kbuild style for compression suffix
When generating the compression suffix in arch/x86/boot/compressed/Makefile, follow standard Kbuild conventions, that is: - Use a dash not underscore before y/m/n endings - Use := whenever possible. Requested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/boot/compressed/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
index b35c3bb70907..7f24fdb584e6 100644
--- a/arch/x86/boot/compressed/Makefile
+++ b/arch/x86/boot/compressed/Makefile
@@ -46,10 +46,10 @@ $(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) FORCE
46$(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE 46$(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE
47 $(call if_changed,lzma) 47 $(call if_changed,lzma)
48 48
49suffix_$(CONFIG_KERNEL_GZIP) = gz 49suffix-$(CONFIG_KERNEL_GZIP) := gz
50suffix_$(CONFIG_KERNEL_BZIP2) = bz2 50suffix-$(CONFIG_KERNEL_BZIP2) := bz2
51suffix_$(CONFIG_KERNEL_LZMA) = lzma 51suffix-$(CONFIG_KERNEL_LZMA) := lzma
52 52
53LDFLAGS_piggy.o := -r --format binary --oformat $(CONFIG_OUTPUT_FORMAT) -T 53LDFLAGS_piggy.o := -r --format binary --oformat $(CONFIG_OUTPUT_FORMAT) -T
54$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix_y) FORCE 54$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE
55 $(call if_changed,ld) 55 $(call if_changed,ld)