From b9ca09ab8551eebbabc69a629d6b60bb40fccb32 Mon Sep 17 00:00:00 2001 From: Dezhen Wang Date: Fri, 29 Dec 2023 06:48:38 +0000 Subject: [PATCH] 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 --- scripts/amlogic/amlogic_smarthome_utils.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/amlogic/amlogic_smarthome_utils.sh b/scripts/amlogic/amlogic_smarthome_utils.sh index 04f3636ef..050f05d2c 100644 --- a/scripts/amlogic/amlogic_smarthome_utils.sh +++ b/scripts/amlogic/amlogic_smarthome_utils.sh @@ -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 }