]> git.hungrycats.org Git - linux/commitdiff
PPC32: don't use call descend in boot Makefiles
authorPaul Mackerras <paulus@samba.org>
Sun, 8 Dec 2002 06:24:23 +0000 (17:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Sun, 8 Dec 2002 06:24:23 +0000 (17:24 +1100)
arch/ppc/Makefile
arch/ppc/boot/Makefile

index 5a49a7fe2c84572182376b2f68f941ae90fa4fc9..38d75d14ec55272a9892bcaa4b7e8323a4bfa686 100644 (file)
@@ -55,19 +55,21 @@ drivers-$(CONFIG_8xx)               += arch/ppc/8xx_io/
 drivers-$(CONFIG_4xx)          += arch/ppc/4xx_io/
 drivers-$(CONFIG_8260)         += arch/ppc/8260_io/
 
-makeboot = $(call descend,arch/ppc/boot,$(1))
+makeboot =$(Q)$(MAKE) -f scripts/Makefile.build obj=arch/ppc/boot $(1)
 
 BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd pImage vmlinux.sm
 
 .PHONY: $(BOOT_TARGETS) clean archclean archmrproper
 
+all: zImage
+
 AFLAGS_vmlinux.lds.o   := -Upowerpc
 
 # All the instructions talk about "make bzImage".
 bzImage: zImage
 
 $(BOOT_TARGETS): vmlinux
-       +@$(call makeboot,$@)
+       @$(call makeboot,$@)
 
 %_config: arch/ppc/configs/%_defconfig
        rm -f .config arch/ppc/defconfig
index 939b3bd75b494c75bd75535673101864db1faf57..27c6841e07e98acc8bbf7d768ad3a8321f9ee68f 100644 (file)
@@ -42,4 +42,4 @@ host-progs                    := $(addprefix utils/,$(tools-y))
 $(BOOT_TARGETS): $(bootdir-y)
 
 $(bootdir-y): $(addprefix $(obj)/,$(subdir-y))
-       +$(call descend,$(obj)/$@,$(MAKECMDGOALS))
+       $(Q)$(MAKE) -f scripts/Makefile.build obj=$(obj)/$@ $(MAKECMDGOALS)