mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux: make nfs support optional
This commit is contained in:
parent
8556d6536f
commit
c71806174f
@ -50,6 +50,11 @@ sed -i -e "s|^CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"$ROOT/$BUILD
|
|||||||
sed -i -e "s|^CONFIG_SWAP=.*$|# CONFIG_SWAP is not set|" $LINUX/.config
|
sed -i -e "s|^CONFIG_SWAP=.*$|# CONFIG_SWAP is not set|" $LINUX/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable nfs support if not enabled
|
||||||
|
if [ ! "$NFS_SUPPORT" = yes ]; then
|
||||||
|
sed -i -e "s|^CONFIG_NFS_FS=.*$|# CONFIG_NFS_FS is not set|" $LINUX/.config
|
||||||
|
fi
|
||||||
|
|
||||||
# copy some extra firmware to linux tree
|
# copy some extra firmware to linux tree
|
||||||
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user