Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions kernel/scripts/build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
# ===================================================

kpath=$BUILD_TOP/qcom-next/arch/arm64/boot
CRD_DTB=$kpath/dts/qcom/x1e80100-crd.dtb
EVK_DTB=$kpath/dts/qcom/hamoa-iot-evk.dtb
QCS6490_DTB=$kpath/dts/qcom/qcs6490-rb3gen2.dtb
QCS8300_DTB=$kpath/dts/qcom/qcs8300-ride.dtb
QCS9100_DTB=$kpath/dts/qcom/qcs9100-ride-r3.dtb

# Clean previous build
rm -rf $BUILD_TOP/out/*;
Expand All @@ -38,9 +33,5 @@ make ARCH=arm64 modules
# Deploy kernel modules to out/
make ARCH=arm64 modules_install INSTALL_MOD_PATH=$BUILD_TOP/out/modules INSTALL_MOD_STRIP=1

# Deploy device tree blobs to out/
[ -f "$CRD_DTB" ] && cp "$CRD_DTB" "$BUILD_TOP/out/"
[ -f "$EVK_DTB" ] && cp "$EVK_DTB" "$BUILD_TOP/out/"
[ -f "$QCS6490_DTB" ] && cp "$QCS6490_DTB" "$BUILD_TOP/out/"
[ -f "$QCS8300_DTB" ] && cp "$QCS8300_DTB" "$BUILD_TOP/out/"
[ -f "$QCS9100_DTB" ] && cp "$QCS9100_DTB" "$BUILD_TOP/out/"
# Deploy ALL device tree blobs (*.dtb) to out/ (recursively)
find "$kpath/dts" -type f -name '*.dtb' -print0 | xargs -0 -I{} cp "{}" "$BUILD_TOP/out/"
Loading