]> rtime.felk.cvut.cz Git - omk.git/blobdiff - snippets/rtems
Fixed bug in texinfo documentation
[omk.git] / snippets / rtems
index e84cc25a0336bd0217867642cec95f0d3265884a..e45428f647dca9a79a28dcde7f4935a21cf1f96c 100644 (file)
 # 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
 
-# Include RTEMS target configuration defining RTEMS_MAKEFILE_PATH
--include $(MAKERULES_DIR)/config.target
-
 ifdef OMK_TESTSROOT
 ifeq ($(RTEMS_MAKEFILE_PATH),)
 $(error $(shell $(call canttest,RTEMS_MAKEFILE_PATH not defined)))
@@ -84,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
 
 #=====================================================================
@@ -96,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 $$@"