From patchwork Tue Oct 10 20:43:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 824051 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="gXZWAx4V"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yBTbh5LCCz9sBd for ; Wed, 11 Oct 2017 07:43:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2A35A302BC; Tue, 10 Oct 2017 20:43:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5j7AQRGDXx5w; Tue, 10 Oct 2017 20:43:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7C95430313; Tue, 10 Oct 2017 20:43:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0E02C1C232E for ; Tue, 10 Oct 2017 20:43:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 00F5F30313 for ; Tue, 10 Oct 2017 20:43:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w5KnKKJ0alZS for ; Tue, 10 Oct 2017 20:43:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by silver.osuosl.org (Postfix) with ESMTPS id 151CF302BC for ; Tue, 10 Oct 2017 20:43:38 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id 131so230896wmk.3 for ; Tue, 10 Oct 2017 13:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KSShLGlwKvspjDOT2XtuDItvF0l3TXSayyNoTHuYQmM=; b=gXZWAx4VumqTqd0yAbkFLvvaTT134U64fCoeKFG3Dr6S+pBwR4xbJp/LTKkR5bXofs z8DLYPz++HmR9X7cMWa+xU5fzzIT8vHzdVDv+1B62RM/VNiwLAcVjiiwahCr2Zqwhxhk PZWh3B3V5upKSG2/o6l+EMbwWiKaGouHhch+wV/QOk9F0iGdLmPdWIigDNMs9NnsKypi JeEd7agBnkP4bd+dGYcOqvBQYEyXtFKk2lE+9ta37wzlI1tu9BdCOBab+CTzFxwBw6CS RpOkTb1d4I1Ug6gCNqCcH5F+P3GDNtS3aAEpON+odpIPOWgkSni5mqHLMJQH/QoArVdD AydQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KSShLGlwKvspjDOT2XtuDItvF0l3TXSayyNoTHuYQmM=; b=J4tow52RYgfZDnuPibu8jGPpBsBbchC+YPfZmcr19dVH27D1Azy9A0X4fCrYSekbUW 5gVuxWe2pQmhdBkHAthVdMPhvjC+wngBY7iRT+CG/OrAnN416zLSiWpFdTGY4DNfY6Va 4F61LNSNQ0lnqg0nn2/MReGijodlzd1GWVH/nYo0A1Gk/0XZf6h/x+jMrHpF4G7gH+ST P4jQF2NLOeP12DjgjZt5xePMVedsZWnLz6bllw9S3YZHIz8TFi4jgvGO3OEGzyXC86gz qUQH+j+IqsJP7VTXm8NySx6fjLIo7lpzNWXsC4uSBFcPr/NPug96yft9EYwhcMugbu7+ rH1Q== X-Gm-Message-State: AMCzsaXNQVY1QADifMlYwB0OvaxU+PUbzhyDpVj578/Xw+EAg4TzgnLd gq3yQxPwcO/JqzsJFdEJvQ1+4r0U X-Google-Smtp-Source: AOwi7QD+GHHJ2DiIj/rKZodflvfhYB5bTtj2b2sGmTtqPqY7Wkc9ay3Ky4MkemJ7bPLG1k3XxMQ4Jg== X-Received: by 10.223.132.101 with SMTP id 92mr12843688wrf.85.1507668216144; Tue, 10 Oct 2017 13:43:36 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id 55sm12339205wrw.60.2017.10.10.13.43.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 13:43:35 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 10 Oct 2017 22:43:28 +0200 Message-Id: <1507668210-5427-2-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507668210-5427-1-git-send-email-angelo.compagnucci@gmail.com> References: <1507668210-5427-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [RFC 1/3] support/kconfig/merge_config.sh: merge also buildroot config files X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds a way to merge buildroot config file programmatically. It adds an option (-b, buildroot mode) to manage buildroot config files. The buildroot mode changes the way the script looks for configurations entries using the BR2_ prefix and modify the call to the make command to be buildroot friendly. Signed-off-by: Angelo Compagnucci --- support/kconfig/merge_config.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/support/kconfig/merge_config.sh b/support/kconfig/merge_config.sh index 8a1708b..cb6e439 100755 --- a/support/kconfig/merge_config.sh +++ b/support/kconfig/merge_config.sh @@ -29,6 +29,7 @@ trap clean_up HUP INT TERM usage() { echo "Usage: $0 [OPTIONS] [CONFIG [...]]" echo " -h display this help text" + echo " -b buildroot mode (searches for BR2_ and uses a custom make command)" echo " -m only merge the fragments, do not execute the make command" echo " -n use allnoconfig instead of alldefconfig" echo " -r list redundant entries when merging fragments" @@ -39,6 +40,8 @@ MAKE=true ALLTARGET=alldefconfig WARNREDUN=false OUTPUT=. +BUILDROOT_MODE=FALSE +CONFIG_PREFIX=CONFIG_ while true; do case $1 in @@ -71,6 +74,12 @@ while true; do shift 2 continue ;; + "-b") + BUILDROOT_MODE=true + CONFIG_PREFIX=BR2_ + shift + continue + ;; *) break ;; @@ -81,7 +90,7 @@ INITFILE=$1 shift; MERGE_LIST=$* -SED_CONFIG_EXP="s/^\(# \)\{0,1\}\(CONFIG_[a-zA-Z0-9_]*\)[= ].*/\2/p" +SED_CONFIG_EXP="s/^\(# \)\{0,1\}\(${CONFIG_PREFIX}[a-zA-Z0-9_]*\)[= ].*/\2/p" TMP_FILE=$(mktemp -t .tmp.config.XXXXXXXXXX) echo "Using $INITFILE as base" @@ -131,7 +140,12 @@ fi # Use the merged file as the starting point for: # alldefconfig: Fills in any missing symbols with Kconfig default # allnoconfig: Fills in any missing symbols with # CONFIG_* is not set +if [ "$BUILDROOT_MODE" = "false" ]; then make KCONFIG_ALLCONFIG=$TMP_FILE $OUTPUT_ARG $ALLTARGET +else +cp $TMP_FILE $OUTPUT/.config +make $OUTPUT_ARG olddefconfig +fi # Check all specified config values took (might have missed-dependency issues) From patchwork Tue Oct 10 20:43:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 824052 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oLyDQMF+"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yBTbn6XDhz9sBd for ; Wed, 11 Oct 2017 07:43:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6D49189520; Tue, 10 Oct 2017 20:43:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ShhxNDc7R1fq; Tue, 10 Oct 2017 20:43:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D2E7D894A4; Tue, 10 Oct 2017 20:43:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7A9D11C232E for ; Tue, 10 Oct 2017 20:43:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 69D8388B6B for ; Tue, 10 Oct 2017 20:43:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T3H4Z1gqd0AP for ; Tue, 10 Oct 2017 20:43:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9260388B46 for ; Tue, 10 Oct 2017 20:43:39 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id u138so251009wmu.0 for ; Tue, 10 Oct 2017 13:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gG2bjMs3UbDr+jAOIZL0BJ6fRphcbyaR2qMMmeD5wcs=; b=oLyDQMF+DpmR6bnNYvsfWNJharO79eEhrpjStYr3gVhO6mkdJ/MyKRN5xlsakUTJc2 ksO/0RbXDln8UR+p4k4TdnPvthbZC6GzfTiSKk6nIGaNWJL/1Z5PmCjI/+ZNbIrmYCiS D5tCs7tNPTwMIFnn5HiEvHKcPaG8qtn9h89LkaSd+vbjPPB8xaPvltDGrnLlD/AGtmrs OIg+IoIbpDCgHLG04czhnARc2EGZDJav2k2H5j/Ui9Y7H+mJPEya8pY4AbTwM3qpZlnT nZfsHd30FBFiKlwqZsJv+91+GKln+K3FyxB+G63w/N45LQfPRcTG+FpI4qK3q8v/8oVy cb0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gG2bjMs3UbDr+jAOIZL0BJ6fRphcbyaR2qMMmeD5wcs=; b=graoh6LFs+LD+x3taHkYKj2DOgIQuxeScuGzNaQKfIW28TRJ7uRpiqZLLwC1ZLsgMF KBD9K2pXWsQyA+gunvEEuCHzefC5TzljiWmVVBwiHzGHI5bngWGOj7/B5UGoVJoEEM8q 0MQw7t5fFF8mu9vlz7Feqyt+Af4foumrh9Kl1qLOzYamG3Ovb+3dAbJz/+b1YjuMDQOZ m9C8qmb6ULAiT8993CUIOCMoRo8qvrx+XPwkI+jmtUmeURfuQGbyCK8jo1XYSX/yFcjV JsIr0WoDalgO893uXCRvnpIw8ovtWNvDnqRC9pAz6k8STVxqaHUQ2tQt7U6tp6ZbxGLu Be3A== X-Gm-Message-State: AMCzsaXuQdKRVbrkVUaBYaIDFS7QL5eslwZTVzacr4MlrdyZc5m+3n5W EfbAq+H36JiwIdXVPyiHLNY1F9wm X-Google-Smtp-Source: AOwi7QArtS+p8acKAOxGZpRjxFlFZW87X8DO1QsHW5AOgtt9xpGIUrso0N+HnI7224/x5tj72NyDig== X-Received: by 10.223.163.215 with SMTP id m23mr12712499wrb.32.1507668217705; Tue, 10 Oct 2017 13:43:37 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id 55sm12339205wrw.60.2017.10.10.13.43.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 13:43:36 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 10 Oct 2017 22:43:29 +0200 Message-Id: <1507668210-5427-3-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507668210-5427-1-git-send-email-angelo.compagnucci@gmail.com> References: <1507668210-5427-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [RFC 2/3] Makefile: add handling of software stacks X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Software stacks are a new way to express a bundle of configuration options that should be used togheter. A software stack is orthogonal to a classic buildroot config: a software stack indeed could be shared beetween multiple configs. A software stack could be used with standard buildroot tools, like: make qt5-fb_stack The fragment called qt5-fb_stack is merged inside current .config and everithing is checked to produce a valid configurationqt5-fb_stack is merged inside current .config and everithing is checked to produce a valid configuration. Signed-off-by: Angelo Compagnucci --- Makefile | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 02f7cda..27283b8 100644 --- a/Makefile +++ b/Makefile @@ -128,7 +128,7 @@ export BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlo # List of targets and target patterns for which .config doesn't need to be read in noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \ - defconfig %_defconfig allyesconfig allnoconfig alldefconfig silentoldconfig release \ + defconfig %_defconfig %_stack allyesconfig allnoconfig alldefconfig silentoldconfig release \ randpackageconfig allyespackageconfig allnopackageconfig \ print-version olddefconfig distclean manual manual-% @@ -146,7 +146,7 @@ nobuild_targets := source %-source source-check \ clean distclean help show-targets graph-depends \ %-graph-depends %-show-depends %-show-version \ graph-build graph-size list-defconfigs \ - savedefconfig printvars + list-stacks savedefconfig printvars ifeq ($(MAKECMDGOALS),) BR_BUILDING = y else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),) @@ -919,6 +919,12 @@ define percent_defconfig endef $(eval $(foreach d,$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)),$(call percent_defconfig,$(d))$(sep))) +define percent_stack +%_stack: $(1)/stacks/%_stack + $(TOPDIR)/support/kconfig/merge_config.sh -b -O $(BASE_DIR) $(BR2_CONFIG) $(1)/stacks/$$@ +endef +$(eval $(foreach d,$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)),$(call percent_stack,$(d))$(sep))) + savedefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig @$(COMMON_CONFIG_ENV) $< \ --savedefconfig=$(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) \ @@ -1039,6 +1045,7 @@ help: @echo ' graph-depends - generate graph of the dependency tree' @echo ' graph-size - generate stats of the filesystem size' @echo ' list-defconfigs - list all defconfigs (pre-configured minimal systems)' + @echo ' list-stacks - list all stacks (pre-configured group of packages)' @echo @echo 'Miscellaneous:' @echo ' source - download all sources needed for offline-build' @@ -1075,6 +1082,26 @@ define list-defconfigs $${first} || printf "\n" endef +# List the stacks files +# $(1): base directory +# $(2): br2-external name, empty for bundled +define list-stacks + @first=true; \ + for stack in $(1)/stacks/*_stack; do \ + [ -f "$${stack}" ] || continue; \ + if $${first}; then \ + if [ "$(2)" ]; then \ + printf 'External stacks in "$(call qstrip,$(2))":\n'; \ + else \ + printf "Built-in stacks:\n"; \ + fi; \ + first=false; \ + fi; \ + printf " %-35s - %s\n" ""$${stack##*/}"" "$$(head -n1 $${stack} | sed 's/^##*//' )"; \ + done; \ + $${first} || printf "\n" +endef + # We iterate over BR2_EXTERNAL_NAMES rather than BR2_EXTERNAL_DIRS, # because we want to display the name of the br2-external tree. .PHONY: list-defconfigs @@ -1084,6 +1111,15 @@ list-defconfigs: $(call list-defconfigs,$(BR2_EXTERNAL_$(name)_PATH),\ $(BR2_EXTERNAL_$(name)_DESC))$(sep)) +# We iterate over BR2_EXTERNAL_NAMES rather than BR2_EXTERNAL_DIRS, +# because we want to display the name of the br2-external tree. +.PHONY: list-stacks +list-stacks: + $(call list-stacks,$(TOPDIR)) + $(foreach name,$(BR2_EXTERNAL_NAMES),\ + $(call list-stacks,$(BR2_EXTERNAL_$(name)_PATH),\ + $(BR2_EXTERNAL_$(name)_DESC))$(sep)) + release: OUT = buildroot-$(BR2_VERSION) # Create release tarballs. We need to fiddle a bit to add the generated From patchwork Tue Oct 10 20:43:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 824053 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oNmcpSaM"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yBTbq2h7Yz9t61 for ; Wed, 11 Oct 2017 07:43:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1E86088B85; Tue, 10 Oct 2017 20:43:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BqyWH0Ye2nRH; Tue, 10 Oct 2017 20:43:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4BE0D88B6B; Tue, 10 Oct 2017 20:43:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 038951C232E for ; Tue, 10 Oct 2017 20:43:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EFA9F89C7E for ; Tue, 10 Oct 2017 20:43:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wzm6A8fMbh2D for ; Tue, 10 Oct 2017 20:43:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id ED04389C41 for ; Tue, 10 Oct 2017 20:43:40 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id 131so231046wmk.3 for ; Tue, 10 Oct 2017 13:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NkQnaVpiFwP+/CuWIO3JGkAWijU3zb84cdTxKscRRio=; b=oNmcpSaMeh2zzbI4I0Rk384gyB2U8yp2Hh/lnCLPVG9UpJgRm15eREMmwx9FE9B0Fm v5s/dNohMHHeFtN0r87sVP/I3T9HRw+pE0ILb5/uSPgwplPQfPbB9v37O2u9FCmRKPIk Qj+GjBU9ktuD8T+bBmIfMf3CuRcNkr+mx84L17I4MbWHefPcxZeW75gzr23k7MKbSFIA fhvbqWIEyyuG2wK+VSYUzW2Nt5WemQf7vLmaUfdMlABhsyhUSIyo6ow7kKeD/sOMSeKv yvGBz8lk+PpIhiUa+/6Ar1q3n3rMsDNZ/KGIRnWnBDorqPCpSPDUgpNJ9EOb6+T4QklN Up6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NkQnaVpiFwP+/CuWIO3JGkAWijU3zb84cdTxKscRRio=; b=m8c2xhelTBVAr1cYuw5Ypm+CIwDqzmU4dDefzaMLscSulWLJsHGvt3ativsP0C9YM7 oEO03PcTMqnyvodawYGPx1d6emEBi0JKBKNvrlTGEgqjZdwYIbU4+3tUOYVAiy2eLYlG KZYex/S7Cy7DgU0T5lBEzb1ZEww8Gp1S/KpmjkVo8qd/YDWLJUdi22InNy8F0HbR7Y9p N69iBOeDZpWO8bSN84Xfyqz0bf3yONeUjpeza+xX44OGEa+zhZD61D8cs6pAXkH0y1Qu ++4w0BVUWUgI2tLXKMuUroRPKsv/6bT+b5hH4WNpjitUKkbV6YRcwfqTKJcclY12b+mJ RjgA== X-Gm-Message-State: AMCzsaUUP/jAPzFqJXVrnh7M094oKcqYLTdfCVoIOWd8xC6EEK67J/3a 8rtgSX7ewzD3po3gK8zXU/6ZvHF5 X-Google-Smtp-Source: AOwi7QC75HOA0lLplIkS8PQ3cHXky1CzQowV5XsPdipId3nUJl7wzZrQiu4HjzDMt3v7wvA14Ck/iA== X-Received: by 10.223.171.236 with SMTP id s99mr12831177wrc.27.1507668218961; Tue, 10 Oct 2017 13:43:38 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id 55sm12339205wrw.60.2017.10.10.13.43.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 13:43:38 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 10 Oct 2017 22:43:30 +0200 Message-Id: <1507668210-5427-4-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507668210-5427-1-git-send-email-angelo.compagnucci@gmail.com> References: <1507668210-5427-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [RFC 3/3] stacks: add a bunch of stacks X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds a bunch of stacks to thinkering with. Signed-off-by: Angelo Compagnucci --- stacks/lamp_stack | 10 ++++++++++ stacks/mesa3d-etnaviv_stack | 7 +++++++ stacks/qt5-demos_stack | 7 +++++++ stacks/qt5-fb_stack | 11 +++++++++++ 4 files changed, 35 insertions(+) create mode 100644 stacks/lamp_stack create mode 100644 stacks/mesa3d-etnaviv_stack create mode 100644 stacks/qt5-demos_stack create mode 100644 stacks/qt5-fb_stack diff --git a/stacks/lamp_stack b/stacks/lamp_stack new file mode 100644 index 0000000..bc9b0f1 --- /dev/null +++ b/stacks/lamp_stack @@ -0,0 +1,10 @@ +# Linux Apache Mysql Php (LAMP stack) + +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_PACKAGE_PHP=y +BR2_PACKAGE_PHP_EXT_DBA=y +BR2_PACKAGE_PHP_EXT_PDO=y +BR2_PACKAGE_PHP_EXT_PDO_MYSQL=y +BR2_PACKAGE_MYSQL=y +BR2_PACKAGE_ORACLE_MYSQL_SERVER=y +BR2_PACKAGE_APACHE=y diff --git a/stacks/mesa3d-etnaviv_stack b/stacks/mesa3d-etnaviv_stack new file mode 100644 index 0000000..959967c --- /dev/null +++ b/stacks/mesa3d-etnaviv_stack @@ -0,0 +1,7 @@ +# Mesa3D for boards based on Etnaviv driver +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y +BR2_PACKAGE_MESA3D_OPENGL_ES=y diff --git a/stacks/qt5-demos_stack b/stacks/qt5-demos_stack new file mode 100644 index 0000000..b00ef34 --- /dev/null +++ b/stacks/qt5-demos_stack @@ -0,0 +1,7 @@ +# QT5 demo packages +BR2_PACKAGE_GLMARK2=y +BR2_PACKAGE_MESA3D_DEMOS=y +BR2_PACKAGE_KMSCUBE=y +BR2_PACKAGE_QT5CINEX=y +BR2_PACKAGE_QT5CINEX_HD=y +BR2_PACKAGE_LIBV4L=y diff --git a/stacks/qt5-fb_stack b/stacks/qt5-fb_stack new file mode 100644 index 0000000..fcadde8 --- /dev/null +++ b/stacks/qt5-fb_stack @@ -0,0 +1,11 @@ +# QT5 stack based on the Linux famebuffer +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_PACKAGE_QT5=y +BR2_PACKAGE_QT5BASE_GUI=y +BR2_PACKAGE_QT5BASE_OPENGL=y +BR2_PACKAGE_QT5BASE_OPENGL_LIB=y +BR2_PACKAGE_QT5BASE_LINUXFB=y +BR2_PACKAGE_QT5BASE_FONTCONFIG=y +BR2_PACKAGE_QT5BASE_GIF=y +BR2_PACKAGE_QT5BASE_JPEG=y