diff --git a/linux/linux.mk b/linux/linux.mk index 680279c9e6..91a5fb8d81 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -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