projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup/rewrite of the kernel build process
[openwrt.git]
/
include
/
host.mk
diff --git
a/include/host.mk
b/include/host.mk
index
abcf045
..
3100ce4
100644
(file)
--- a/
include/host.mk
+++ b/
include/host.mk
@@
-7,6
+7,8
@@
include $(TOPDIR)/.host.mk
include $(TOPDIR)/.host.mk
+export TAR
+
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
@( \
HOST_OS=`uname`; \
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
@( \
HOST_OS=`uname`; \
@@
-20,8
+22,11
@@
$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
echo "HOST_OS:=$$HOST_OS" > $@; \
echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \
echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \
echo "HOST_OS:=$$HOST_OS" > $@; \
echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \
echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \
- if tar --version 2>&1 | grep 'GNU' >/dev/null; then \
- echo "TAR_WILDCARDS:=--wildcards" >> $@; \
- fi; \
+ TAR=`which gtar`; \
+ [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar`; \
+ echo "TAR:=$$TAR" >> $@; \
+ ZCAT=`which gzcat`; \
+ [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \
+ echo "ZCAT:=$$ZCAT" >> $@; \
)
)
This page took
0.022126 seconds
and
4
git commands to generate.