build system: revamp building and configuration

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2016-07-15 01:34:37 +02:00
parent ab013cc1ad
commit f650e11c1e
7 changed files with 76 additions and 84 deletions

View File

@@ -8,5 +8,5 @@ if [[ ! -e $K/net/Kconfig ]]; then
exit 1
fi
sed -i "/^if NET\$/a source \"$WG/Kconfig\"" "$K/net/Kconfig"
sed -i "/^if INET\$/a source \"$WG/Kconfig\"" "$K/net/Kconfig"
echo "obj-y += ../../../../../../../../../../../../../../../../../../../../../..$WG/" >> "$K/net/Makefile"