mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-24 04:33:42 +08:00
Revert "linux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test"
This reverts commit 4ad1ea59a5
. The
whole host-lzop optional dependency logic cannot work, since the
configuration file will only be known after the kernel sources are
extracted, if an internal kernel defconfig is used, which is quite
common.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
41711cfded
commit
4ff3aa2288
@ -170,6 +170,7 @@ ifeq ($(BR2_LINUX_KERNEL),y)
|
||||
ifeq ($(wildcard $(KERNEL_SOURCE_CONFIG)),)
|
||||
$(error Configuration file '$(KERNEL_SOURCE_CONFIG)' not found.)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(call KCONFIG_GET_OPT,CONFIG_KERNEL_LZO,$(KERNEL_SOURCE_CONFIG)),y)
|
||||
LINUX_DEPENDENCIES += host-lzop
|
||||
@ -177,7 +178,6 @@ endif
|
||||
ifeq ($(call KCONFIG_GET_OPT,CONFIG_RD_LZO,$(KERNEL_SOURCE_CONFIG)),y)
|
||||
LINUX_DEPENDENCIES += host-lzop
|
||||
endif
|
||||
endif
|
||||
|
||||
define LINUX_CONFIGURE_CMDS
|
||||
$(INSTALL) -m 0644 $(KERNEL_SOURCE_CONFIG) $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig
|
||||
|
Loading…
Reference in New Issue
Block a user