Skip to contentSkip to conversation

configs/calao_qil_a9260: fix kernel build

PATCH New Thomas Petazzoni 2 participants 2 messages Jun 2, 2014 – Jun 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 configs/calao_qil_a9260: fix kernel build

The calao_qil_a9260 was not specifying an explicit kernel version, so it ended up downloading the latest kernel version, and therefore fail to apply the patches. This commit changes the defconfig to used a fixed kernel version, so that the patches apply properly. It fixes a Jenkins build failure that has been occuring since quite some time.

While we're at it, also lock down the version of the kernel headers, as noticed by Peter Korsgaard.

---
 configs/calao_qil_a9260_defconfig | 5 +++++
 1 file changed, 5 insertions(+)
configs/calao_qil_a9260_defconfig +5 -0
index f05e95c..05af114 100644
@@ -1,6 +1,9 @@
 BR2_arm=y
 BR2_arm926t=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
+BR2_KERNEL_HEADERS_VERSION=y
+BR2_DEFAULT_KERNEL_VERSION="3.4"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4=y
 BR2_PACKAGE_HOST_SAM_BA=y
 BR2_TARGET_ROOTFS_UBIFS=y
 BR2_TARGET_AT91BOOTSTRAP=y
@@ -11,6 +14,8 @@ BR2_TARGET_BAREBOX=y
 BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR="board/calao/qil-a9260/"
 BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="qil_a9260"
 BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.4.7"
 BR2_LINUX_KERNEL_PATCH="board/calao/qil-a9260/linux-3.4.7.patch"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/calao/qil-a9260/linux-3.4.7.config"
Signature · 1 line
1.9.3
#1 lore raw

PATCH v2 1/1 configs/calao_qil_a9260: fix kernel build

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

The calao_qil_a9260 was not specifying an explicit kernel version, so it ended up downloading the latest kernel version, and therefore fail to apply the patches. This commit changes the defconfig to used a fixed kernel version, so that the patches apply properly. It fixes a Jenkins build failure that has been occuring since quite some time.

Quoted 4 lines

While we're at it, also lock down the version of the kernel headers, as noticed by Peter Korsgaard.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard