Cleanups of arch/ppc/boot/Makefile
Hey all. After talking to paulus a bit, arch/ppc/boot/Makefile needs some cleaning and fixing. It doesn't always get deps and it's kinda ugly too. I've changed it around to use subdir-$(CONFIG_ARCH) andwhatnot to get deps/ tools compiled. My main problem is I couldn't get the subdirs done in a way that I thought was clean & nice looking. I've attached a patch vs 2_4_devel of what I've done so far. But if anyone can make the subdir-<target>-list stuff look nice I'd appreaciate it.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
===== arch/ppc/Makefile 1.19 vs edited =====
arch/ppc/Makefile +1 -1
@@ -103,4 +103,4 @@ archmrproper: archdep: - $(MAKEBOOT) dep + $(MAKEBOOT) fastdep
===== arch/ppc/boot/Makefile 1.12 vs edited =====
arch/ppc/boot/Makefile +59 -74
163 lines not on this page · raw message
On 28 Jun, this message from Tom Rini echoed through cyberspace:
Quoted 2 lines
Hey all. After talking to paulus a bit,
arch/ppc/boot/Makefileneeds some cleaning and fixing.
[snip]
+subdir-$(CONFIG_PRPMC750) += pp3 lib images common
+tools-$(CONFIG_PRPMC750) := mkbugboot mkprep
+subdir-$(CONFIG_MCPN765) += pp3 lib images common
+tools-$(CONFIG_MCPN750) := mkbugboot mkprep
^^^
Is this right? Shouldn't that be CONFIG_MCPN765?
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art. 23, Rue Paul Henkes | Ask Questions. Make Mistakes. L-1710 Luxembourg | email [email protected] | http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Michel Lanners
On 28 Jun, this message from Tom Rini echoed through cyberspace:
Quoted 2 lines
Hey all. After talking to paulus a bit,
arch/ppc/boot/Makefileneeds some cleaning and fixing.[snip]
arch/ppc/boot/Makefile +4
-0+subdir-$(CONFIG_PRPMC750) += pp3 lib images common +tools-$(CONFIG_PRPMC750) := mkbugboot mkprep +subdir-$(CONFIG_MCPN765) += pp3 lib images common +tools-$(CONFIG_MCPN750) := mkbugboot mkprep ^^^Is this right? Shouldn't that be
CONFIG_MCPN765?
Oops, mental goof. Thanks. Thats the other thing, I did this on an
ibook during class, so it's only been tested on CONFIG_ALL_PPC, with the rest eyeballed for now :) Thats another reason I didn't commit it.. :)
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/