Fiddling around with kernel compilation
This commit is contained in:
parent
b20f7eed07
commit
d632bc9d6b
|
@ -35,6 +35,9 @@ make defconfig
|
||||||
# Enable collectd network encryption
|
# Enable collectd network encryption
|
||||||
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
||||||
|
|
||||||
|
# Kernel modules
|
||||||
|
make target/linux
|
||||||
|
|
||||||
${MAKE} package/i2c-tools/compile
|
${MAKE} package/i2c-tools/compile
|
||||||
make package/kmod-i2c-mux-pinctrl/compile
|
make package/kmod-i2c-mux-pinctrl/compile
|
||||||
make package/kmod-nvme/compile
|
make package/kmod-nvme/compile
|
||||||
|
@ -44,6 +47,9 @@ make package/ansible-core/compile
|
||||||
${MAKE} package/asterisk-chan-quectel/compile
|
${MAKE} package/asterisk-chan-quectel/compile
|
||||||
${MAKE} package/collectd/compile
|
${MAKE} package/collectd/compile
|
||||||
|
|
||||||
|
# Kernel image
|
||||||
|
make target/linux
|
||||||
|
|
||||||
sdkdir=$(pwd)
|
sdkdir=$(pwd)
|
||||||
cd ${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/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=768/g" .config
|
||||||
#sed -i 's/root=\/dev\/mmcblk0p2/root=\/dev\/nvme0n1p2/' $BOOTCMDLINE
|
#sed -i 's/root=\/dev\/mmcblk0p2/root=\/dev\/nvme0n1p2/' $BOOTCMDLINE
|
||||||
|
|
||||||
make package/linux
|
|
||||||
|
|
||||||
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \
|
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \
|
||||||
PACKAGES=" \
|
PACKAGES=" \
|
||||||
${PACKAGES} cryptsetup kmod-ata-ahci smartmontools hdparm fdisk parted \
|
${PACKAGES} cryptsetup kmod-ata-ahci smartmontools hdparm fdisk parted \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user