From: Daniel Dickinson <open...@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 <open...@daniel.thecshore.com> --- target/linux/mvebu/image/Makefile | 4 ++-- target/linux/mvebu/profiles/000-Default.mk | 1 + target/linux/mvebu/profiles/010-all.mk | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 target/linux/mvebu/profiles/010-all.mk diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index fd51052..67abaff 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -200,8 +200,8 @@ define Image/Build/Profile/385-DB-AP/squashfs endef -# The Default profile should build everything -$(eval $(call MultiProfile,Default,$(PROFILES_LIST))) +# The All profile should build everything +$(eval $(call MultiProfile,All,$(PROFILES_LIST))) define Image/BuildKernel $(call Image/BuildKernel/Profile/$(2),$(1),$(2)) diff --git a/target/linux/mvebu/profiles/000-Default.mk b/target/linux/mvebu/profiles/000-Default.mk index 5660836..530fcd9 100644 --- a/target/linux/mvebu/profiles/000-Default.mk +++ b/target/linux/mvebu/profiles/000-Default.mk @@ -17,6 +17,7 @@ define Profile/Default kmod-hwmon-pwmfan kmod-leds-tlc59116 \ kmod-ledtrig-usbdev kmod-mwlwifi wpad-mini \ kmod-ata-mvebu-ahci + PROFILE_SKIP_DEFAULT:=1 endef define Profile/Default/Description diff --git a/target/linux/mvebu/profiles/010-all.mk b/target/linux/mvebu/profiles/010-all.mk new file mode 100644 index 0000000..474191d --- /dev/null +++ b/target/linux/mvebu/profiles/010-all.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2015 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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel