Date: Fri, 03 Jul 2020 16:51:17 +0000 From: bugzilla-noreply@freebsd.org To: uboot@FreeBSD.org Subject: [Bug 241261] sysutils/u-boot-rpi, sysutils/u-boot-rpi2: Fails to build on 11.3-STABLE: Error: You must add new CONFIG options using Kconfig Message-ID: <bug-241261-39090-tdCKzxaiaa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241261-39090@https.bugs.freebsd.org/bugzilla/> References: <bug-241261-39090@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241261 Thomas Skibo <thoma555-bsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thoma555-bsd@yahoo.com --- Comment #3 from Thomas Skibo <thoma555-bsd@yahoo.com> --- I have seen this before. It seems BSD sed handles tabs differently than Li= nux sed and so scripts/check-config.sh misses some options in Kconfig files. T= he target still gets built, though. This patch to u-boot works for me: diff --git a/scripts/check-config.sh b/scripts/check-config.sh index 583f7d0963..e899e5679a 100755 --- a/scripts/check-config.sh +++ b/scripts/check-config.sh @@ -45,8 +45,8 @@ cat ${path} |sed -n 's/^#define \(CONFIG_[A-Za-z0-9_]*\).*/\1/p' |sort |uniq \ comm -23 ${configs} ${whitelist} > ${suspects} cat `find ${srctree} -name "Kconfig*"` |sed -n \ - -e 's/^\s*config *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ - -e 's/^\s*menuconfig \([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ + -e 's/^[\s\t]*config *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ + -e 's/^[\s\t]*menuconfig \([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ |sort |uniq > ${ok} comm -23 ${suspects} ${ok} >${new_adhoc} if [ -s ${new_adhoc} ]; then --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241261-39090-tdCKzxaiaa>