aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Hogan <jhogan@kernel.org>2018-02-09 11:11:56 -0500
committerJames Hogan <jhogan@kernel.org>2018-02-19 16:03:07 -0500
commit318df8062852b6b7b6a9b2667289eca77fe42e3b (patch)
tree8c360484c8bd19764a77c6d5f108868641890224
parent35868f09594827299106a2b0411c276b307767aa (diff)
MIPS: Refactor legacy defconfigs
Define legacy defconfigs which have been converted to the generic platform more programatically, so that they can be listed in the Makefile help text and as a separate Makefile target without duplication. Signed-off-by: James Hogan <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: Matt Redfearn <matt.redfearn@mips.com> Cc: linux-mips@linux-mips.org Cc: linux-kbuild@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/18596/
-rw-r--r--arch/mips/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 44a6ed53d018..22aa38b28d33 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -546,14 +546,15 @@ generic_defconfig:
546# now that the boards have been converted to use the generic kernel they are 546# now that the boards have been converted to use the generic kernel they are
547# wrappers around the generic rules above. 547# wrappers around the generic rules above.
548# 548#
549.PHONY: sead3_defconfig 549legacy_defconfigs += sead3_defconfig
550sead3_defconfig: 550sead3_defconfig-y := 32r2el_defconfig BOARDS=sead-3
551 $(Q)$(MAKE) -f $(srctree)/Makefile 32r2el_defconfig BOARDS=sead-3
552 551
553.PHONY: sead3micro_defconfig 552legacy_defconfigs += sead3micro_defconfig
554sead3micro_defconfig: 553sead3micro_defconfig-y := micro32r2el_defconfig BOARDS=sead-3
555 $(Q)$(MAKE) -f $(srctree)/Makefile micro32r2el_defconfig BOARDS=sead-3
556 554
557.PHONY: xilfpga_defconfig 555legacy_defconfigs += xilfpga_defconfig
558xilfpga_defconfig: 556xilfpga_defconfig-y := 32r2el_defconfig BOARDS=xilfpga
559 $(Q)$(MAKE) -f $(srctree)/Makefile 32r2el_defconfig BOARDS=xilfpga 557
558.PHONY: $(legacy_defconfigs)
559$(legacy_defconfigs):
560 $(Q)$(MAKE) -f $(srctree)/Makefile $($@-y)