96941a9f51
Since commit 2a5cf5e
(check kernel headers version), we also need to
specify the series of the custom kernel headers version.
The defconfigs file that define such a custom kernel headers version
now fail to build.
Add the required _AT_LEAST_X_Y options to those config files. Done with
this (convoluted but very fast, uch faster ythan manual editing!) rule:
for f in $( git grep -l BR2_DEFAULT_KERNEL_VERSION=\"3 ); do
grep -E '^BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_' "${f}" >/dev/null && continue
sed -r -e '/^(BR2_DEFAULT_KERNEL_VERSION="3\.([[:digit:]]+).*")$/s//\1\nBR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_\2=y/' "${f}"
done
Only kernels >= 3.0 need those options in the defconfig, since the
default for 2.6.x kernels is correct (selects _AT_LEAST_2_6), and
the default is not saved in a defconfig.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# architecture
|
|
BR2_arm=y
|
|
BR2_cortex_a8=y
|
|
BR2_ARM_EABIHF=y
|
|
|
|
# system
|
|
BR2_TARGET_GENERIC_HOSTNAME="beaglebone"
|
|
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyO0"
|
|
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
|
|
|
|
# filesystem
|
|
BR2_PACKAGE_AM33X_CM3=y
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# lock down headers to avoid breaking with new defaults
|
|
BR2_KERNEL_HEADERS_VERSION=y
|
|
BR2_DEFAULT_KERNEL_VERSION="3.12.10"
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12=y
|
|
|
|
# bootloader
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BOARDNAME="am335x_evm"
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2013.10"
|
|
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
|
BR2_TARGET_UBOOT_SPL=y
|
|
BR2_TARGET_UBOOT_SPL_NAME="MLO"
|
|
|
|
# kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="7f280334068b7c875ade51f8f3921ab311f0c824"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beaglebone/linux-3.12.config"
|
|
BR2_LINUX_KERNEL_ZIMAGE=y
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-bone am335x-boneblack"
|