summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-04 18:16:36 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-04 18:16:36 (GMT)
commit69628fc16f429d5eedc2b7dfe03fd328c7b282be (patch)
treeb04e5d417cd4ccd95edea89964dbc4fe5718e5ab
parentd30542712bc8d211466146d642874168479fb3d4 (diff)
downloadbuildroot-69628fc16f429d5eedc2b7dfe03fd328c7b282be.tar.gz
buildroot-69628fc16f429d5eedc2b7dfe03fd328c7b282be.tar.bz2
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>
-rw-r--r--linux/linux.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index ec7dfc3..cf728aa 100644
--- a/linux/linux.mk
+++ b/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))
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)
LINUX_DEPENDENCIES += host-lzop
endif