2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/.host.mk
10 $(TOPDIR
)/.host.mk
: $(INCLUDE_DIR
)/host.mk
11 @echo
"HOST_OS:=`uname`" > $@
13 $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
14 -e 's/sparc.*/sparc/' \
20 -e 's/mips-.*/mips/' \
21 -e 's/mipsel-.*/mipsel/' \
23 -e 's/i[3-9]86/i386/'`" >> $@
24 @echo
"GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
25 @if
tar --version
2>&1 | grep
'GNU' >/dev
/null
; then \
26 echo
"TAR_WILDCARDS:=--wildcards" >> $@
; \
This page took 0.057875 seconds and 5 git commands to generate.