aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-01-02 14:14:58 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-01-02 14:14:58 -0800
commitf502fd4de64f3e2140659e68a430577f2f5227f1 (patch)
tree7ea5bff336987495632949380d6f37708a8f33f6
parentfuncs: kconfig_*opt functions can be used for busybox as well. (diff)
downloadgenkernel-f502fd4d.tar.gz
genkernel-f502fd4d.tar.bz2
genkernel-f502fd4d.zip
gen_compile: cleaner config changing.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xgen_compile.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index 04a7bd4..7cc4733 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -417,9 +417,7 @@ compile_busybox() {
cp "${BUSYBOX_CONFIG}" "${TEMP}/busybox-config"
if isTrue "${NFS}"
then
- sed -i \
- -e 's/.*CONFIG_FEATURE_MOUNT_NFS.*/CONFIG_FEATURE_MOUNT_NFS=y/' \
- "${TEMP}/busybox-config"
+ kconfig_set_opt "${TEMP}/busybox-config" CONFIG_FEATURE_MOUNT_NFS y
fi
# Delete cache if stored config's MD5 does not match one to be used