]> rtime.felk.cvut.cz Git - omk/sssa.git/commitdiff
Copying of LD scipts is added to include-pass in sysless rules.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 28 Jun 2006 20:40:00 +0000 (20:40 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 28 Jun 2006 20:40:00 +0000 (20:40 +0000)
It was forgotten when include pass was converted to macros.

darcs-hash:20060628204058-f2ef6-424eb95257c148c59c10f990f8bf02107166bf35.gz

snippets/sysless

index 81b1d399fbf294ea14c961b1f26c9a717f0134ff..dd19fbdb4f63903796c95b9ec29d4c59f8b85230 100644 (file)
@@ -226,6 +226,8 @@ install-local:
 
 include-pass-local:
        $(call include-pass-template,$(USER_INCLUDE_DIR),include)
+       @$(foreach f, $(lib_LDSCRIPTS), cmp --quiet $(SOURCES_DIR)/$(f) $(USER_LIB_DIR)/$(notdir $(f)) \
+          || cp $(CP_FLAGS) $(SOURCES_DIR)/$(f) $(USER_LIB_DIR)/$(notdir $(f)) || exit 1 ; )
 
 
 .PHONY: clean-custom