odk: recreate setsdkenv if config changes

Change-Id: I4a34f03fdab4626bdbf9b254986b0953ecfdffa7
This commit is contained in:
Michael Stahl 2017-02-01 21:14:02 +01:00
parent 30473907a5
commit 616e19fc25

View File

@ -102,7 +102,8 @@ $(call gb_CustomTarget_get_target,odk/build-examples): \
&& exit $$RET)
$(call gb_CustomTarget_get_workdir,odk/build-examples)/setsdkenv: \
$(SRCDIR)/odk/config/setsdkenv_unix.sh.in | \
$(SRCDIR)/odk/config/setsdkenv_unix.sh.in \
$(BUILDDIR)/config_$(gb_Side).mk | \
$(call gb_CustomTarget_get_workdir,odk/build-examples)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1)
sed -e 's!@OO_SDK_NAME@!sdk!' \