Fiddling around with kernel compilation
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.

This commit is contained in:
Peter Šurda 2024-01-31 18:32:23 +08:00
parent b20f7eed07
commit d632bc9d6b
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -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 \