X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/blobdiff_plain/d94902146598bbe55ae320a905ade5e047e05e28..c58097452ae99625405af4a4636e10e6e003530b:/snippets/rtems diff --git a/snippets/rtems b/snippets/rtems index 18e30ee..9a51b2c 100644 --- a/snippets/rtems +++ b/snippets/rtems @@ -10,6 +10,7 @@ # utils_PROGRAMS .. list of the development utility programs # test_PROGRAMS .. list of the test programs # xxx_SOURCES .. list of specific target sources +# xxx_LIBS .. list of specific target libraries # INCLUDES .. additional include directories and defines for user-space # tar_EMBEDFILES .. list of tars with embedded files @@ -81,6 +82,7 @@ library-pass: include-pass binary-pass: library-pass override OMK_SERIALIZE_INCLUDED = y +MAKEOVERRIDES := $(filter-out OMK_SERIALIZE_INCLUDED=n,$(MAKEOVERRIDES)) endif #===================================================================== @@ -93,8 +95,8 @@ define TARFILE_template $(2): $(Q) ABSOLUTETARFILE=`cd $$(dir $$@) ; pwd`/$$@ ; \ - ( test -e $$$$ABSOLUTETARFILE && ( cd $(3) && tar -df $$$$ABSOLUTETARFILE ) ) || \ - ( cd $(3) && tar -cf $$$$ABSOLUTETARFILE . ) + ( test -e $$$$ABSOLUTETARFILE && ( cd $(3) && tar $$(TARFLAGS) -df $$$$ABSOLUTETARFILE ) ) || \ + ( cd $(3) && tar $$(TARFLAGS) -cf $$$$ABSOLUTETARFILE . ) $(2).o: $(2) @$(QUIET_CMD_ECHO) " TARFILE $$@" @@ -302,8 +304,7 @@ check-dir: @$(call mkdir_def,$(USER_UTILS_DIR)) @$(call mkdir_def,$(USER_TESTS_DIR)) -include-pass-local: - $(call include-pass-template,$(USER_INCLUDE_DIR),include) +$(eval $(call include-pass-template,$(USER_INCLUDE_DIR),include)) ifdef USER_RULE_TEMPLATES