Skip to content

Commit 4942fb9

Browse files
Fix linux-yocto-dev build in qcom-armv7a (#946)
Make linux-yocto-dev build for qcom-armv7a machines by pointing out a correct defconfig and fixing a missing include file.
2 parents c628768 + 81f4000 commit 4942fb9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

recipes-kernel/linux/linux-yocto-dev.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ SRC_URI:append:qcom = " \
6161
KCONFIG_MODE:qcom = "--alldefconfig"
6262

6363
KBUILD_DEFCONFIG:qcom ?= "defconfig"
64+
KBUILD_DEFCONFIG:qcom-armv7a = "qcom_defconfig"
6465

6566
do_install:append:qcom() {
6667
sed -i 's:${TMPDIR}::g' ${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build/drivers/gpu/drm/msm/generated/*

recipes-kernel/linux/linux-yocto-dev/drivers/0008-PCI-pwrctrl-Add-power-control-driver-for-tc9563.patch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@ new file mode 100644
6565
index 00000000000000..547c764a6f405a
6666
--- /dev/null
6767
+++ b/drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c
68-
@@ -0,0 +1,628 @@
68+
@@ -0,0 +1,629 @@
6969
+// SPDX-License-Identifier: GPL-2.0-only
7070
+/*
7171
+ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
7272
+ */
7373
+
7474
+#include <linux/delay.h>
7575
+#include <linux/device.h>
76+
+#include <linux/gpio/consumer.h>
7677
+#include <linux/i2c.h>
7778
+#include <linux/mod_devicetable.h>
7879
+#include <linux/module.h>

0 commit comments

Comments
 (0)