linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / ppc / boot / Makefile
index 181a5a5..efd8ce5 100644 (file)
@@ -17,18 +17,18 @@ BOOT_TARGETS        = zImage zImage.initrd znetboot znetboot.initrd
 
 bootdir-y                      := simple
 bootdir-$(CONFIG_PPC_OF)       += openfirmware
-subdir-y                       := lib/ common/ images/
-subdir-$(CONFIG_PPC_OF)                += of1275/
+subdir-y                       := lib common images
+subdir-$(CONFIG_PPC_MULTIPLATFORM)     += of1275
 
 # for cleaning
-subdir-                                += simple/ openfirmware/
+subdir-                                += simple openfirmware
 
-host-progs := $(addprefix utils/, addnote mknote hack-coff mkprep mkbugboot mktree)
+hostprogs-y := $(addprefix utils/, addnote mknote hack-coff mkprep mkbugboot mktree)
 
 .PHONY: $(BOOT_TARGETS) $(bootdir-y)
 
 $(BOOT_TARGETS): $(bootdir-y)
 
 $(bootdir-y): $(addprefix $(obj)/,$(subdir-y)) \
-               $(addprefix $(obj)/,$(host-progs))
+               $(addprefix $(obj)/,$(hostprogs-y))
        $(Q)$(MAKE) $(build)=$(obj)/$@ $(MAKECMDGOALS)