From patchwork Tue Jan 19 06:07:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Dickinson X-Patchwork-Id: 569802 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 784A21402ED for ; Tue, 19 Jan 2016 17:08:32 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id E13AA28BCDF; Tue, 19 Jan 2016 07:07:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 19EEA280163 for ; Tue, 19 Jan 2016 07:07:17 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from s1.neomailbox.net (s1.neomailbox.net [5.148.176.57]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 19 Jan 2016 07:07:16 +0100 (CET) From: openwrt@daniel.thecshore.com To: openwrt-devel@lists.openwrt.org Date: Tue, 19 Jan 2016 01:07:41 -0500 Message-Id: <1453183670-67000-5-git-send-email-openwrt@daniel.thecshore.com> In-Reply-To: <1453183670-67000-1-git-send-email-openwrt@daniel.thecshore.com> References: <1453171813-36623-1-git-send-email-openwrt@daniel.thecshore.com> <1453183670-67000-1-git-send-email-openwrt@daniel.thecshore.com> Subject: [OpenWrt-Devel] [PATCH 04/13] mvebu: Translate the build all profiles profile to new multi-profile config X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From: Daniel Dickinson 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 --- 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))