tn3399_openwrt/include
John Crispin c22bebf6ab Fix build when TAR_OPTIONS env variable is set
The build system sets a make variable TAR_OPTIONS to the unpacking
command, i.e. "-xf -". Now if an environment variable with the same
name is set, the make variable is automatically exported to the
environment. The make variable is added to the tar command in the
makefile, and tar adds the environment variable. This results in a
command like "tar -c /some/dir -xf - -xf -" which of course doesn't
work. It is also difficult to spot as the second "-xf -" is not
visible on the command line.
I suggest this is fixed by unexporting TAR_OPTIONS as I see no use
of the evironment variable, and it is changed from the original
value anyway.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

SVN-Revision: 42794
2014-10-06 04:53:14 +00:00
..
site add preliminary support for musl 2012-11-23 20:02:29 +00:00
autotools.mk autotools.mk: add a gettext-version PKG_FIXUP (#11236) 2012-10-10 17:53:51 +00:00
cmake.mk include/cmake.mk: fix indentation 2014-06-11 17:01:15 +00:00
debug.mk build: undefine debug helper templates used by subdir.mk if the DEBUG variable is empty, speeds up "make prereq" by 25% when lots of packages are installed 2011-04-03 03:40:01 +00:00
depends.mk change the recursive dependency template to use more make evaluation - the shell command got so long that it triggered "Argument list too long" on some systems (#8231) 2010-11-24 14:07:12 +00:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk build: add support for packing version control downloads with xz 2014-04-10 14:43:26 +00:00
feeds.mk include: fix detection of installed feeds 2014-08-06 09:12:31 +00:00
host-build.mk build: BSD compile fixes 2013-03-07 17:32:29 +00:00
host.mk build: move the XARGS variable out of the host checks, since a working xargs is built in tools/ 2013-07-10 15:11:29 +00:00
image.mk image: only call Image/BuildKernel/Initramfs if initramfs is actually enabled 2014-07-31 23:40:37 +00:00
kernel-build.mk kernel-build: fix STRIP_KERNEL_EXPORTS for recent kernels 2014-09-15 16:18:48 +00:00
kernel-defaults.mk build: remove useless quote stripping for KERNELNAME, add fallback for it in the kernel build command line 2014-10-05 20:17:23 +00:00
kernel-version.mk kernel: update 3.14 to 3.14.18 2014-09-10 21:40:19 +00:00
kernel.mk kernel: remove debug code from module insert script 2013-10-08 15:08:23 +00:00
netfilter.mk netfilter: unbreak kmod-ipt-nat for <3.7 2014-09-29 05:24:32 +00:00
nls.mk nls.mk: fix build dependency on gettext (#11829) 2012-07-11 10:05:00 +00:00
package-bin.mk include: remove SDK exception from package install targets 2014-07-02 11:39:28 +00:00
package-defaults.mk build: add support for declaring package CONFLICTS which only affect selecting built-in packages 2014-10-05 16:41:33 +00:00
package-dumpinfo.mk build: add support for declaring package CONFLICTS which only affect selecting built-in packages 2014-10-05 16:41:33 +00:00
package-ipkg.mk build: propagate package conflicts to opkg metadata 2014-10-05 16:41:38 +00:00
package.mk PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default 2014-08-25 06:36:06 +00:00
prereq-build.mk build: clarify the file prereq check message 2014-04-24 19:41:57 +00:00
prereq.mk some minor fixes, cleanups, package build abstraction 2007-09-28 01:23:56 +00:00
quilt.mk quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure 2012-02-13 15:31:28 +00:00
scan.mk build: introduce per feed repository support 2014-08-05 11:24:24 +00:00
scons.mk fix up scons vs ccache 2012-07-28 21:06:59 +00:00
shell.sh clean up md5s() shell function 2008-09-02 10:57:51 +00:00
subdir.mk tools: fix stampfile dependency handling when the list of build dirs changes (#15186) 2014-03-08 17:15:45 +00:00
target.mk Reorganize netfilter kernel modules and package nftables kernel support 2014-09-17 12:10:44 +00:00
toolchain-build.mk toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol 2012-10-17 13:03:08 +00:00
toplevel.mk Fix build when TAR_OPTIONS env variable is set 2014-10-06 04:53:14 +00:00
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 2013-05-09 20:50:49 +00:00
unpack.mk partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk" 2014-03-22 19:52:48 +00:00
verbose.mk build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook 2013-03-17 21:12:02 +00:00
version.mk base-files: properly escape strings for version info 2014-07-29 13:30:23 +00:00