From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Thu, 1 Nov 2018 07:24:49 +0100 Subject: [Buildroot] [PATCH] merge_config.sh: Fix merging buildroot config files In-Reply-To: <20181101010953.20996-1-afshin.nasser@gmail.com> References: <20181031205608.GA4061@x230> <20181101010953.20996-1-afshin.nasser@gmail.com> Message-ID: <20181101062448.GC8261@x230> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Nasser, ... > @@ -157,6 +162,7 @@ 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 > +unset CONFIG_ You added unset, which isn't in upstream patch. This has no effect, so I'd be for removing it. Even if it has (if it was needed), it'd be better to 1) ask upstream to add it 2) keep it in separate patch in meanwhile (otherwise it complicates patch rebasing during update and can be lost). ... > diff --git a/support/kconfig/patches/20-merge_config.sh-Allow-to-define-config-prefix.patch b/support/kconfig/patches/20-merge_config.sh-Allow-to-define-config-prefix.patch ... > + # 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 > ++unset CONFIG_ BTW (I noted that before) your patch contain trailing whitespace and mixing tab and spaces. git am and pwclient fixes that, only when applying with patch they get committed, so nothing serious. $ pwclient git-am -p buildroot 991781 .git/rebase-apply/patch:59: space before tab in indent. echo " -r list redundant entries when merging fragments" .git/rebase-apply/patch:60: space before tab in indent. echo " -O dir to put generated output files. Consider setting \$KCONFIG_CONFIG instead." .git/rebase-apply/patch:61: space before tab in indent. echo " -e colon-separated list of br2-external trees to use (optional)" .git/rebase-apply/patch:66: trailing whitespace. .git/rebase-apply/patch:72: trailing whitespace. warning: squelched 6 whitespace errors warning: 10 lines applied after fixing whitespace errors. Applying: merge_config.sh: Fix merging buildroot config files Applying patch #991781 using 'git am' Description: merge_config.sh: Fix merging buildroot config files Kind regards, Petr