-
Notifications
You must be signed in to change notification settings - Fork 15
Failed to build linux kernel #16
Copy link
Copy link
Open
Description
git clone https://github.com/rubikpi-ai/linux.git
git submodule init
git submodule update
source ../qcom-wayland_sdk/environment-setup-armv8-2a-qcom-linux
./rubikpi_build.sh -a
The error log:
LD [M] drivers/slimbus/slim-qcom-ngd-ctrl.o
LD [M] drivers/hwtracing/coresight/coresight-cti.o
LD [M] drivers/hwtracing/coresight/coresight-tmc.o
LD [M] drivers/net/wireless/bcmdhd/bcmdhd.o
AR drivers/net/wireless/built-in.a
AR drivers/net/built-in.a
AR drivers/built-in.a
make[3]: *** [Makefile:1921: .] Error 2
make[2]: *** [scripts/Makefile.package:174: tar-install] Error 2
make[1]: *** [/home/chuanquan/work/qualcomm/linux/Makefile:1545: dir-pkg] Error 2
make: *** [Makefile:234: __sub-make] Error 2
After run ./rubikpi_build.sh -a command, the git diff is as below, seems the error was due to no Makefile under linux/techpack folder. Did I miss anything?
diff --git a/Kbuild b/Kbuild
index 464b34a08f51..286ada465028 100644
--- a/Kbuild
+++ b/Kbuild
@@ -96,4 +96,5 @@ obj-y += sound/
obj-$(CONFIG_SAMPLES) += samples/
obj-$(CONFIG_NET) += net/
obj-y += virt/
+obj-y += techpack/
obj-y += $(ARCH_DRIVERS)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index fd8dda1a9b7f..3cd46246adf3 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
+ifdef RUBIKPI_DTB_BUILD_ALL
dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8016-sbc-d3-camera-mezzanine.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8039-t2.dtb
@@ -276,6 +277,7 @@ dtb-$(CONFIG_ARCH_QCOM) += x1e80100-addons-crd.dtb
dtb-$(CONFIG_ARCH_QCOM) += x1e80100-crd.dtb
dtb-$(CONFIG_ARCH_QCOM) += x1e80100-addons-qcp.dtb
dtb-$(CONFIG_ARCH_QCOM) += x1e80100-qcp.dtb
+endif
# rubikpi
dtb-$(CONFIG_ARCH_QCOM) += rubikpi3.dtb
diff --git a/techpack/display b/techpack/display
--- a/techpack/display
+++ b/techpack/display
@@ -1 +1 @@
-Subproject commit c7b773e73e1fd26ee4964171a8d52487ea97b182
+Subproject commit c7b773e73e1fd26ee4964171a8d52487ea97b182-dirty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels