@@ -87,13 +87,17 @@ define Image/Build/Kernel/Default
$(call Image/Build/Kernel/Q5XR5)
endef
+define Image/Build/Kernel/Unified
+ true
+endef
+
define Image/BuildKernel
mkimage -A arm -T kernel -C none -a 0x20008000 -e 0x20008000 -n linux-2.6 \
-d $(KDIR)/Image $(BIN_DIR)/$(IMG_PREFIX)-uImage
if [ $(CONFIG_FLEXIBITY_ROOT) ]; then \
$(INSTALL_BIN) $(BIN_DIR)/$(IMG_PREFIX)-uImage $(TARGET_DIR)/uImage ; \
fi
- $(call Image/Build/Kernel/$(PROFILE))
+ $(foreach profile,$(PROFILES_BUILD),$(call Image/Build/Kernel/$(profile)))
endef
define Image/Build
@@ -7,6 +7,9 @@
define Profile/Default
NAME:=Default Profile
+ PROFILE_TYPE:=meta
+ PROFILE_DEFAULT:=1
+ PROFILE_IMAGES_TYPE:=all
endef
define Profile/Default/Description
new file mode 100644
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/Unified
+ NAME:=Unified Profile (merge of all selected profiles)
+ PROFILE_TYPE:=unified
+endef
+
+define Profile/Unified/Description
+ Build all selected images with a profile that is the merge of all selected profiles.
+endef
+
+$(eval $(call Profile,Unified))
@@ -1,5 +1,6 @@
BOARDNAME:=Legacy (ARMv5)
CPU_TYPE:=arm926ej-s
+TARGET_MULTI_SELECT:=1
define Target/Description
Build generic firmware for legacy Atmel AT91 platforms
@@ -1,5 +1,6 @@
BOARDNAME:=SAMA5D3 (Cortex-A5)
CPU_TYPE:=cortex-a5
+TARGET_MULTI_SELECT:=0
DEFAULT_PACKAGES += kmod-usb2