Compare commits

..

4 Commits

1 changed files with 12 additions and 12 deletions

View File

@ -12,7 +12,7 @@
set -x
renice -n 19 $$
export MAKEOPTS="-j$(nproc)" # FIXME: not sure why export
MAKE="make -j$(nproc)"
tar -xJf /Downloads/openwrt-sdk-${OPENWRT_VERSION}-*.tar.xz
@ -29,27 +29,27 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
cat << "EOF" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
CONFIG_HWMON=y
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y
CONFIG_NVME_HWMON=y
CONFIG_NVME_MULTIPATH=n
EOF
# cat << "EOF" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
# CONFIG_HWMON=y
# CONFIG_NVME_CORE=y
# CONFIG_BLK_DEV_NVME=y
# CONFIG_NVME_HWMON=y
# CONFIG_NVME_MULTIPATH=n
# EOF
make defconfig
# Enable collectd network encryption
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
make $MAKEOPTS package/i2c-tools/compile
${MAKE} package/i2c-tools/compile
make package/kmod-i2c-mux-pinctrl/compile
make package/kmod-rtc-pcf85063/compile
make package/nvme-cli/compile
make package/ansible-core/compile
make package/asterisk-chan-quectel/compile
make $MAKEOPTS package/collectd/compile
${MAKE} package/asterisk-chan-quectel/compile
${MAKE} package/collectd/compile
# FIXME: need to extend the regexp for errors
make $MAKEOPTS V=s package/kernel-custom/compile 2>&1 | grep '^make'
${MAKE} V=s package/kernel-custom/compile 2>&1 | grep '^make'
sdkdir=$(pwd)
cd ${pwd}