kernel6.6: support building dtbs for smarthome. [1/1]

PD#SWPL-151768

Problem:
there are some problem in building dtb

Solution:
fix the function for building dtbs for smarthome

Verify:
local

Change-Id: I6a8b943504eeaa2174cb8a03bb3e729d222bf8bf
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
This commit is contained in:
Dezhen Wang
2023-12-29 06:48:38 +00:00
parent 958f97f3f0
commit b9ca09ab85
+3 -1
View File
@@ -17,7 +17,7 @@ function handle_input_parameters_for_smarthome () {
MENUCONFIG=1
shift
;;
--dtb)
--dtbs)
DTB=1
shift
;;
@@ -159,6 +159,8 @@ function only_build_dtb_for_smarthome () {
make ARCH=${ARCH} -C ${ROOT_DIR}/${KERNEL_DIR} O=${OUT_DIR} ${TOOL_ARGS} ${DEFCONFIG}
make ARCH=${ARCH} -C ${ROOT_DIR}/${KERNEL_DIR} O=${OUT_DIR} ${TOOL_ARGS} dtbs || exit
set +x
cp ${OUT_DIR}/${COMMON_DRIVERS_DIR}/arch/${ARCH}/boot/dts/amlogic/*.dtb ${DIST_DIR}
echo "finish building dtbs!"
exit
fi
}