Try to compile kernel explicitly
This commit is contained in:
parent
9c0636f2b2
commit
712a354ac2
|
@ -106,6 +106,7 @@ PACKAGES="kmod-i2c-bcm2835 kmod-i2c-mux kmod-i2c-mux-pinctrl \
|
|||
|
||||
BOOTSOURCE=target/linux/${OPENWRT_TARGET}/image
|
||||
BOOTCONFIG=${BOOTSOURCE}/config.txt
|
||||
BOOTCMDLINE=${BOOTSOURCE}/cmdline.txt
|
||||
KERNELSOURCE=build_dir/target-${PKG_ARCH}_musl/linux-${OPENWRT_TARGET}_${OPENWRT_DEVICE}/linux-5.10.146
|
||||
OVERLAYSOURCE=${KERNELSOURCE}/arch/arm64/boot/dts/overlays
|
||||
|
||||
|
@ -143,6 +144,9 @@ make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="dualeth" \
|
|||
|
||||
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 target/linux
|
||||
|
||||
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \
|
||||
PACKAGES=" \
|
||||
|
@ -161,6 +165,7 @@ git apply ${pwd}/patches/overlay-add.patch
|
|||
popd
|
||||
|
||||
sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=308/g" .config
|
||||
#sed -i 's/root=\/dev\/nvme0n1p2/root=\/dev\/mmcblk0p2/' $BOOTCMDLINE
|
||||
|
||||
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="sensing" \
|
||||
PACKAGES="${PACKAGES} asterisk \
|
||||
|
|
Loading…
Reference in New Issue
Block a user