X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=config.mk;h=4e6a19bd8a60bc94137e49d17b2718de7a76d5bd;hb=9a4fbe4fbdeb3ffadeb277236c672c2712443a1b;hp=bb5c69a15d9f67376ca58534b189707dc714db72;hpb=ef123c525370463254a6f8e67563fdb0b0b46412;p=platform%2Fkernel%2Fu-boot.git diff --git a/config.mk b/config.mk index bb5c69a..4e6a19b 100644 --- a/config.mk +++ b/config.mk @@ -219,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