Date:2010-05-04 19:36:18 (13 years 7 months ago)
Author:nico
Commit:1795cc4f0f9799c222ece0be3bb6496f456dd992
Message:[backfire] merge r21304

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21355 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: include/host.mk (2 diffs)

Change Details

include/host.mk
11#
2# Copyright (C) 2007 OpenWrt.org
2# Copyright (C) 2007-2010 OpenWrt.org
33#
44# This is free software, licensed under the GNU General Public License v2.
55# See /LICENSE for more information.
...... 
1414
1515ifneq ($(__host_inc),1)
1616__host_inc:=1
17
18try-run = $(shell set -e; \
19    TMP_F="$(TMP_DIR)/try-run.$$$$.tmp"; \
20    if ($(1)) >/dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; \
21    rm -f "$$TMP_F"; \
22)
23
24host-cc-option = $(call try-run, \
25    $(HOSTCC) $(HOST_CFLAGS) $(1) -c -xc /dev/null -o "$$TMP_F",$(1),$(2) \
26)
27
1728.PRECIOUS: $(TMP_DIR)/.host.mk
1829$(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
1930    @mkdir -p $(TMP_DIR)

Archive Download the corresponding diff file



interactive