X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=config.mk;h=4e6a19bd8a60bc94137e49d17b2718de7a76d5bd;hb=2c6346c1beb1d4debe9c79dc7f72c4e62a77859d;hp=b7cd4814fe74e87633dc15d9c1c8f388c5b8da78;hpb=3e4d27b06d7484040355e22eec2cbce7335d6dab;p=karo-tx-uboot.git diff --git a/config.mk b/config.mk index b7cd4814fe..4e6a19bd8a 100644 --- a/config.mk +++ b/config.mk @@ -23,8 +23,6 @@ ######################################################################### -include $(TOPDIR)/helper.mk - ifeq ($(CURDIR),$(SRCTREE)) dir := else @@ -221,6 +219,14 @@ ifeq ($(CONFIG_SPL_BUILD),y) CPPFLAGS += -DCONFIG_SPL_BUILD endif +# Does this architecture support generic board init? +ifeq ($(__HAVE_ARCH_GENERIC_BOARD),) +ifneq ($(CONFIG_SYS_GENERIC_BOARD),) +$(error Your architecture does not support generic board. Please undefined \ +CONFIG_SYS_GENERIC_BOARD in your board config file) +endif +endif + ifneq ($(RESET_VECTOR_ADDRESS),) CPPFLAGS += -DRESET_VECTOR_ADDRESS=$(RESET_VECTOR_ADDRESS) endif