image.mk: fix evaluation order for image profile check
authorFelix Fietkau <nbd@nbd.name>
Thu, 19 May 2016 13:34:36 +0000 (15:34 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 20 May 2016 12:37:52 +0000 (14:37 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/image.mk

index b07aa90..1410fd5 100644 (file)
@@ -569,8 +569,8 @@ endef
 define Device
   $(call Device/Init,$(1))
   $(call Device/Default,$(1))
-  $(call Device/Check,$(1))
   $(call Device/$(1),$(1))
+  $(call Device/Check,$(1))
   $(call Device/$(if $(DUMP),Dump,Build),$(1))
 
 endef