aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gen_compile.sh')
-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