From: Thomas Petazzoni Date: Tue, 4 Mar 2014 18:16:30 +0000 (+0100) Subject: Revert "linux: fix check of configuration file existence" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d30542712bc8d211466146d642874168479fb3d4;p=buildroot.git Revert "linux: fix check of configuration file existence" This reverts commit 477c28cf1d637b224b819dd278103a05fb6f9dbb. 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 --- diff --git a/linux/linux.mk b/linux/linux.mk index 91a5fb8d81..ec7dfc39ec 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -166,11 +166,9 @@ else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) KERNEL_SOURCE_CONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)) endif -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