projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add generic ide support for x86-2.6
[openwrt.git]
/
include
/
host.mk
diff --git
a/include/host.mk
b/include/host.mk
index
b4580e2
..
9eee20f
100644
(file)
--- a/
include/host.mk
+++ b/
include/host.mk
@@
-8,8
+8,8
@@
include $(TOPDIR)/.host.mk
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
include $(TOPDIR)/.host.mk
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
- echo "HOST_OS:=`uname`" > $@
- echo "HOST_ARCH:=` \
+
@
echo "HOST_OS:=`uname`" > $@
+
@
echo "HOST_ARCH:=` \
$(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/' \
$(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/' \
@@
-21,4
+21,8
@@
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
-e 's/mipsel-.*/mipsel/' \
-e 's/cris.*/cris/' \
-e 's/i[3-9]86/i386/'`" >> $@
-e 's/mipsel-.*/mipsel/' \
-e 's/cris.*/cris/' \
-e 's/i[3-9]86/i386/'`" >> $@
- echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
+ @echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
+ @if tar --version 2>&1 | grep 'GNU' >/dev/null; then \
+ echo "TAR_WILDCARDS:=--wildcards" >> $@; \
+ fi
+
This page took
0.024547 seconds
and
4
git commands to generate.