]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/null/null.rules
added one more level of redirection for building the StorageVolume.h file. This...
[tinyos-2.x.git] / support / make / null / null.rules
index 685ed65762dfd28ccdeed04e44b458df616283dd..58632258ea1efb344dcd616778fc1f48fa131586 100644 (file)
@@ -37,12 +37,18 @@ BUILDLESS_DEPS += bytes
 # Build storage file if volumes.xml present
 # We "steal" the at45db storage spec
 ifneq ($(wildcard $(VOLUMEFILE)), )
-exe0: $(BUILDDIR)/StorageVolumes.h
+build_storage: $(BUILDDIR)/StorageVolumes.h
+
+exe0: build_storage
 
 $(BUILDDIR)/StorageVolumes.h: $(VOLUMEFILE)
        $(VOLUME_ALLOCATOR) $(VOLUME_ALLOCATOR_FLAGS) <$(VOLUMEFILE) >$@
 
 PFLAGS += -I$(BUILDDIR)
+else
+
+build_storage: 
+
 endif
 
 ifndef BUILD_DEPS