2
1
Эх сурвалжийг харах

Revert "linux: check the configuration file exists"

This reverts commit b4cacbf5b15db06132b5f401d39b4c8d4e79158e. 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>
Thomas Petazzoni 11 жил өмнө
parent
commit
69628fc16f
1 өөрчлөгдсөн 0 нэмэгдсэн , 4 устгасан
  1. 0 4
      linux/linux.mk

+ 0 - 4
linux/linux.mk

@@ -166,10 +166,6 @@ else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
 KERNEL_SOURCE_CONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE))
 KERNEL_SOURCE_CONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE))
 endif
 endif
 
 
-ifeq ($(wildcard $(KERNEL_SOURCE_CONFIG)),)
-$(error Configuration file '$(KERNEL_SOURCE_CONFIG)' not found.)
-endif
-
 ifeq ($(call KCONFIG_GET_OPT,CONFIG_KERNEL_LZO,$(KERNEL_SOURCE_CONFIG)),y)
 ifeq ($(call KCONFIG_GET_OPT,CONFIG_KERNEL_LZO,$(KERNEL_SOURCE_CONFIG)),y)
 LINUX_DEPENDENCIES += host-lzop
 LINUX_DEPENDENCIES += host-lzop
 endif
 endif