From d632bc9d6b1ca651da292d161c71ba1e23b03433 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Wed, 31 Jan 2024 18:32:23 +0800 Subject: [PATCH] Fiddling around with kernel compilation --- .buildbot/openwrt/build.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 46b65a0..699ed22 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -35,6 +35,9 @@ make defconfig # Enable collectd network encryption echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config +# Kernel modules +make target/linux + ${MAKE} package/i2c-tools/compile make package/kmod-i2c-mux-pinctrl/compile make package/kmod-nvme/compile @@ -44,6 +47,9 @@ make package/ansible-core/compile ${MAKE} package/asterisk-chan-quectel/compile ${MAKE} package/collectd/compile +# Kernel image +make target/linux + sdkdir=$(pwd) cd ${pwd} @@ -146,8 +152,6 @@ sed -i "s|,i2c_csi_dsi||g" ${BOOTSOURCE}/current.txt sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=768/g" .config #sed -i 's/root=\/dev\/mmcblk0p2/root=\/dev\/nvme0n1p2/' $BOOTCMDLINE -make package/linux - make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \ PACKAGES=" \ ${PACKAGES} cryptsetup kmod-ata-ahci smartmontools hdparm fdisk parted \