kumquat-buildroot/linux
Arnout Vandecappelle ee995b1819 linux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE
A long time ago, the blind config option BR2_LINUX_KERNEL_UBOOT_IMAGE
was introduced to be able to trigger the linux -> host-uboot-tools
dependency. Back in those days, there was no user-configurable
BR2_PACKAGE_HOST_UBOOT_TOOLS.

Now, however, it is possible to select a custom kernel image name that
needs uboot-tools, and manually enable BR2_PACKAGE_HOST_UBOOT_TOOLS. In
this case, however, the linux -> host-uboot-tools is missed and the
build is not reproducible. An example of such a situation is the
upcoming CI40 defconfig.

As a solution, remove BR2_LINUX_KERNEL_UBOOT_IMAGE entirely. Instead,
just select BR2_PACKAGE_HOST_UBOOT_TOOLS and add the dependency if it
is selected.

Note that this may introduce a redundant dependency in case the user
selected BR2_PACKAGE_HOST_UBOOT_TOOLS for some other reason (e.g. to
be able to generate a U-Boot environment to include in the image, while
the kernel is built as a zImage). However, the redundant dependency
shouldn't hurt much.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Abhimanyu Vishwakarma <abhimanyu.v@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-12 21:42:52 +02:00
..
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional linux: add conditional patch for timeconst.pl 2016-02-10 08:12:57 +01:00
Config.ext.in linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
Config.in linux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE 2017-04-12 21:42:52 +02:00
linux-ext-aufs.mk aufs: new kernel extension 2016-09-20 19:03:46 +02:00
linux-ext-ev3dev-linux-drivers.mk linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
linux-ext-fbtft.mk linux: fix fbtft kernel extension 2015-04-09 23:26:16 +02:00
linux-ext-rtai.mk arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
linux-ext-xenomai.mk linux: migrate extensions to use the new infrastructure 2015-04-09 23:00:01 +02:00
linux.mk linux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE 2017-04-12 21:42:52 +02:00