]> rtime.felk.cvut.cz Git - omk.git/commitdiff
rtmes: Add fallback rule to create timestamp
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 11 Mar 2011 23:08:52 +0000 (00:08 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 12 Mar 2011 16:07:40 +0000 (17:07 +0100)
When the build did not contain any library (such as in test suite), the
build failed because there was no rule to create the timestamp.

snippets/rtems.omk

index d42cfe20f8b209d03ed0a8ec80888c8d59027f63..28d57f3128cd936ddb0c538826f0532ca93c31db 100644 (file)
@@ -260,7 +260,8 @@ $(USER_LIB_DIR)/lib$(1).a: $$($(1)_OBJS)
        @touch $(USER_LIB_DIR)/timestamp
 endef
 
-
+$(USER_LIB_DIR)/timestamp:
+       $(Q)touch $@
 
 # Syntax: $(call SOLIB_template,<library-name>)
 define SOLIB_template