From: Felix Fietkau Date: Tue, 7 Jun 2016 07:35:18 +0000 (+0200) Subject: lantiq: only call Image/Prepare/Profile for defined profiles X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=821ccd2b36fb619331ada51cfa157a03476671ef;p=openwrt%2Fstaging%2Fkaloz.git lantiq: only call Image/Prepare/Profile for defined profiles Signed-off-by: Felix Fietkau --- diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile index a601d38c11..b31ea77257 100644 --- a/target/linux/lantiq/image/Makefile +++ b/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