mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user