aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mandriva.org>2010-10-21 13:19:10 +0300
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-04-17 16:15:37 -0400
commit7f455daeb1a1c97fc94669af41def9386e426c6f (patch)
tree7eca81f36ad0b7e37bb2219995c590fd08559328 /arch
parent06b5b28644d92e9de4658d98d9e0aaa6599f029d (diff)
microblaze: Fix build with make 3.82
commit b843e4ec01991a386a9e0e9030703524446e03da upstream. When running make headers_install_all on x86_64 and make 3.82 I hit this: arch/microblaze/Makefile:80: *** mixed implicit and normal rules. Stop. make: *** [headers_install_all] Error 2 So split the rules to satisfy make 3.82. Signed-off-by: Thomas Backlund <tmb@mandriva.org> Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile
index 72f6e858374..45e6afce51e 100644
--- a/arch/microblaze/Makefile
+++ b/arch/microblaze/Makefile
@@ -72,12 +72,16 @@ export MMU DTB
all: linux.bin
-BOOT_TARGETS = linux.bin linux.bin.gz simpleImage.%
+# With make 3.82 we cannot mix normal and wildcard targets
+BOOT_TARGETS1 = linux.bin linux.bin.gz
+BOOT_TARGETS2 = simpleImage.%
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
-$(BOOT_TARGETS): vmlinux
+$(BOOT_TARGETS1): vmlinux
+ $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
+$(BOOT_TARGETS2): vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
define archhelp