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/at91/image/Makefile | 2 +- target/linux/at91/legacy/profiles/00-default.mk | 1 + target/linux/at91/legacy/profiles/01-all.mk | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 target/linux/at91/legacy/profiles/01-all.mk diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index 648b7f5..0cea83a 100644 --- a/target/linux/at91/image/Makefile +++ b/target/linux/at91/image/Makefile @@ -66,7 +66,7 @@ Image/Build/Kernel/ETHERNUT5=$(call MkuImageDtb,ethernut5,ethernut5) Image/Build/Kernel/Q5XR5=$(call MkOftree,q5xr5,at91-q5xr5) -define Image/Build/Kernel/Default +define Image/Build/Kernel/All $(call Image/Build/Kernel/AT91SAM9263EK) $(call Image/Build/Kernel/AT91SAM9G15EK) $(call Image/Build/Kernel/AT91SAM9G20EK) diff --git a/target/linux/at91/legacy/profiles/00-default.mk b/target/linux/at91/legacy/profiles/00-default.mk index 3ff040d..9a1192f 100644 --- a/target/linux/at91/legacy/profiles/00-default.mk +++ b/target/linux/at91/legacy/profiles/00-default.mk @@ -7,6 +7,7 @@ define Profile/Default NAME:=Default Profile + PROFILE_SKIP_DEFAULT:=1 endef define Profile/Default/Description diff --git a/target/linux/at91/legacy/profiles/01-all.mk b/target/linux/at91/legacy/profiles/01-all.mk new file mode 100644 index 0000000..1c4c5d7 --- /dev/null +++ b/target/linux/at91/legacy/profiles/01-all.mk @@ -0,0 +1,16 @@ +# +# 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 + Build 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