[OpenWrt-Devel] [PATCH 06/13] mpc85xx: Translate the build all profiles profile to new multi-profile config
openwrt at daniel.thecshore.com
openwrt at daniel.thecshore.com
Mon Jan 18 21:50:06 EST 2016
From: Daniel Dickinson <openwrt at daniel.thecshore.com>
Minor fixes so that the former 'Default' profile (now All)
not only builds all profiles but acts correctly in the
new multi-profile build machinery/menuconfig
Signed-off-by: Daniel Dickinson <openwrt at daniel.thecshore.com>
---
target/linux/mpc85xx/image/Makefile | 2 +-
target/linux/mpc85xx/profiles/00-default.mk | 1 +
target/linux/mpc85xx/profiles/01-all.mk | 15 +++++++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 target/linux/mpc85xx/profiles/01-all.mk
diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile
index ac4541d..0b0ab73 100644
--- a/target/linux/mpc85xx/image/Makefile
+++ b/target/linux/mpc85xx/image/Makefile
@@ -52,7 +52,7 @@ define Image/Build/Profile/TLWDR4900
$(call Image/Build/TPLINK,$(1),tl-wdr4900-v1,cuImage.tl-wdr4900-v1,0x49000001,1,16Mppc)
endef
-define Image/Build/Profile/Default
+define Image/Build/Profile/All
$(call Image/Build/Profile/TLWDR4900,$(1))
endef
diff --git a/target/linux/mpc85xx/profiles/00-default.mk b/target/linux/mpc85xx/profiles/00-default.mk
index a0b2558..94bfb14 100644
--- a/target/linux/mpc85xx/profiles/00-default.mk
+++ b/target/linux/mpc85xx/profiles/00-default.mk
@@ -8,6 +8,7 @@
define Profile/Default
NAME:=Default Profile (all drivers)
PACKAGES:=kmod-usb-core kmod-usb2 kmod-usb2-fsl
+ PROFILE_SKIP_DEFAULT:=1
endef
define Profile/Default/Description
diff --git a/target/linux/mpc85xx/profiles/01-all.mk b/target/linux/mpc85xx/profiles/01-all.mk
new file mode 100644
index 0000000..024b610
--- /dev/null
+++ b/target/linux/mpc85xx/profiles/01-all.mk
@@ -0,0 +1,15 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/All
+ NAME:=All Profiles
+endef
+
+define Profile/All/Description
+ Builds images for all profiles
+endef
+$(eval $(call Profile,All))
--
2.4.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list