mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
linux: fix check of configuration file existence
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b4cacbf5b1
commit
477c28cf1d
@ -166,9 +166,11 @@ 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 ($(BR2_LINUX_KERNEL),y)
|
||||||
ifeq ($(wildcard $(KERNEL_SOURCE_CONFIG)),)
|
ifeq ($(wildcard $(KERNEL_SOURCE_CONFIG)),)
|
||||||
$(error Configuration file '$(KERNEL_SOURCE_CONFIG)' not found.)
|
$(error Configuration file '$(KERNEL_SOURCE_CONFIG)' not found.)
|
||||||
endif
|
endif
|
||||||
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user