Commit df12aef6a19bb2d69859a94936bda0e6ccaf3327

Authored by Geert Uytterhoeven
Committed by Linus Torvalds
1 parent a6b2029796

m32r: consistently use "suffix-$(...)"

Commit a556bec9955c ("m32r: fix arch/m32r/boot/compressed/Makefile")
changed "$(suffix_y)" to "$(suffix-y)", but didn't update any location
where "suffix_y" is set, causing:

  make[5]: *** No rule to make target `arch/m32r/boot/compressed/vmlinux.bin.', needed by `arch/m32r/boot/compressed/piggy.o'.  Stop.
  make[4]: *** [arch/m32r/boot/compressed/vmlinux] Error 2
  make[3]: *** [zImage] Error 2

Correct the other locations to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

arch/m32r/boot/compressed/Makefile
... ... @@ -43,9 +43,9 @@
43 43  
44 44 OBJCOPYFLAGS += -R .empty_zero_page
45 45  
46   -suffix_$(CONFIG_KERNEL_GZIP) = gz
47   -suffix_$(CONFIG_KERNEL_BZIP2) = bz2
48   -suffix_$(CONFIG_KERNEL_LZMA) = lzma
  46 +suffix-$(CONFIG_KERNEL_GZIP) = gz
  47 +suffix-$(CONFIG_KERNEL_BZIP2) = bz2
  48 +suffix-$(CONFIG_KERNEL_LZMA) = lzma
49 49  
50 50 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE
51 51 $(call if_changed,ld)