# 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
$(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 $$@"
$(eval $(call omk_pass_template,clean,$(USER_OBJS_DIR),,always))
-check-dir:
+check-dir::
@$(call mkdir_def,$(USER_INCLUDE_DIR))
@$(call mkdir_def,$(USER_LIB_DIR))
@$(call mkdir_def,$(USER_BIN_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