hide .host.mk commands

SVN-Revision: 5023
This commit is contained in:
Felix Fietkau 2006-10-10 17:04:17 +00:00
parent 2122cf1717
commit b806e425a3

View file

@ -8,8 +8,8 @@
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/' \
@ -21,8 +21,8 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
-e 's/mipsel-.*/mipsel/' \
-e 's/cris.*/cris/' \
-e 's/i[3-9]86/i386/'`" >> $@
echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
if tar --version 2>&1 | grep 'GNU' >/dev/null; then \
@echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@
@if tar --version 2>&1 | grep 'GNU' >/dev/null; then \
echo "TAR_OPTIONS+=--wildcards" >> $@; \
fi