|
@@ -49,10 +49,11 @@ endif
|
|
|
AT91BOOTSTRAP3_KCONFIG_FILE = $(AT91BOOTSTRAP3_SOURCE_CONFIG)
|
|
|
AT91BOOTSTRAP3_KCONFIG_EDITORS = menuconfig xconfig gconfig
|
|
|
AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS)
|
|
|
-$(eval $(kconfig-package))
|
|
|
|
|
|
# Checks to give errors that the user can understand
|
|
|
+# Must be before we call to kconfig-package
|
|
|
ifeq ($(BR_BUILDING),y)
|
|
|
+
|
|
|
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
|
|
|
ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG)),)
|
|
|
$(error No at91bootstrap3 defconfig name specified, check your BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG setting)
|
|
@@ -74,4 +75,6 @@ $(error No custom at91bootstrap3 repository version specified. Check your BR2_TA
|
|
|
endif
|
|
|
endif
|
|
|
|
|
|
-endif
|
|
|
+endif # BR_BUILDING
|
|
|
+
|
|
|
+$(eval $(kconfig-package))
|