Browse Source

lantiq: only call Image/Prepare/Profile for defined profiles

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 năm trước cách đây
mục cha
commit
821ccd2b36

+ 1 - 1
target/linux/lantiq/image/Makefile

@@ -715,7 +715,7 @@ endef
 TARGET_DEVICES += VGV7519BRN
 TARGET_DEVICES += VGV7519BRN
 
 
 define Image/Prepare
 define Image/Prepare
-	$(call Image/Prepare/Profile,$(PROFILE))
+	$(if $(Image/Build/Profile/$(PROFILE)),$(call Image/Prepare/Profile,$(PROFILE)))
 endef
 endef
 
 
 endif
 endif