X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Fmsp%2Fmsp.rules;h=d283faf596d6f5743bbf3cf357d5090ef7c4ff0f;hb=409a3bb13dabe16fbe0600a8127358e7e6b1b7a3;hp=f1d4e6aef511774e44179fc6b5d1580c3e204432;hpb=4ed66ba5aa0cf55078328c3af3969cf588207a5f;p=tinyos-2.x.git diff --git a/support/make/msp/msp.rules b/support/make/msp/msp.rules index f1d4e6ae..d283faf5 100644 --- a/support/make/msp/msp.rules +++ b/support/make/msp/msp.rules @@ -64,13 +64,19 @@ $(if $(PROGRAM),,$(call TOSMake_include,msp/$(DEFAULT_PROGRAM).extra)) # Build storage file if volumes.xml present ifneq ($(wildcard $(VOLUME_FILE)), ) -exe0: $(BUILDDIR)/StorageVolumes.h +build_storage: $(BUILDDIR)/StorageVolumes.h + +exe0: build_storage VOLUME_ALLOCATOR_FLAGS ?= $(BUILDDIR)/StorageVolumes.h: $(VOLUME_FILE) $(VOLUME_ALLOCATOR) $(VOLUME_ALLOCATOR_FLAGS) $(PLATFORMDIR) <$(VOLUME_FILE) >$@ || rm -f $@ PFLAGS += -I$(BUILDDIR) +else + +build_storage: + endif ifndef BUILD_DEPS