projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ba0c7ac
)
autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS ...
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 16 Oct 2011 16:44:49 +0000
(16:44 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 16 Oct 2011 16:44:49 +0000
(16:44 +0000)
SVN-Revision: 28464
include/autotools.mk
patch
|
blob
|
history
diff --git
a/include/autotools.mk
b/include/autotools.mk
index 1ce25bc9f6f5bc1d3e7ffefc5deafe609ae850f2..f7b633d96c23f1a0e2e2a7495ed7ead79c6f7eee 100644
(file)
--- a/
include/autotools.mk
+++ b/
include/autotools.mk
@@
-36,14
+36,14
@@
define autoreconf
$(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
$(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
- touch NEWS AUTHORS COPYING ChangeLog; \
+ [ -e $(p)/config.rpath ] || \
+ ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \
+ touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \
- [ -e $(p)/config.rpath ] || \
- ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath;
fi; \
) \
);
fi; \
) \
);