浏览代码

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

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 年之前
父节点
当前提交
821ccd2b36
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      target/linux/lantiq/image/Makefile

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

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