openwrt/include
Jo-Philipp Wich 83b6bfc235 build: fix HOST_CONFIGURE_VARS placement
Instead of passing HOST_CONFIGURE_VARS as arguments to the configure script,
pass it as environment variables which brings the logic in line with the
behaviour of package-defaults.mk.

The change is needed since passing environment variables as configure
parameters only works with GNU autoconf which evaluates command line arguments
looking like variable assignments. Doing the same with non-autoconf configure
scripts is not guaranteed to work since such scripts might terminate due to
unknown argument errors.

One example case is the cmake configure script which bails out when called
as "./configure LDFLAGS=..." but not when called as "LDFLAGS=... ./configure".

Also change the SHELL override to CONFIG_SHELL in the default
HOST_CONFIGURE_VARS as the former is not properly propagated through the
various GNU configure invocations since it gets lost when configure re-
executes itself.

A prior attempt to change the variable placement had to be reverted due to
the missing SHELL -> CONFIG_SHELL change, leading to misgenerated libtool
executables in various packages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-10 12:28:32 +01:00
..
site toolchain: add support of ARC architecture 2015-11-10 12:03:59 +00:00
autotools.mk autotools: use correct version for gettext FIXUP 2016-10-13 20:25:42 +02:00
cmake.mk build: use CXXFLAGS if defined 2016-10-13 17:04:43 +02:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
feeds.mk build: remove stale .ipk files if package dir changes 2016-11-08 10:49:51 +01:00
hardening.mk hardening: make override variables more intuitive 2015-06-24 10:57:14 +00:00
host-build.mk build: fix HOST_CONFIGURE_VARS placement 2017-01-10 12:28:32 +01:00
host.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
image-commands.mk build: add image command for calling kernel2minor 2017-01-07 17:50:54 +01:00
image-legacy.mk build: fix build of ubifs images 2017-01-09 16:31:39 +01:00
image.mk build: remove obsolete parallel build related options 2017-01-10 12:10:20 +01:00
kernel-build.mk treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
kernel-defaults.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
kernel-version.mk kernel: bump to 4.4.40 2017-01-06 19:38:55 +01:00
kernel.mk kernel: allow subtarget specific KernelPackage 2017-01-04 13:20:19 +01:00
netfilter.mk kernel: netfilter: split out iptable_raw into a separate package 2016-12-14 12:13:14 +01:00
nls.mk nls.mk: add -rpath-link when needed for NLS support 2015-09-07 08:03:34 +00:00
package-bin.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
package-defaults.mk build: copy contents of 'src' folder to build dirs (if present) 2016-10-15 11:36:51 +02:00
package-dumpinfo.mk include: fix nonshared flag handling 2016-04-15 10:26:36 +02:00
package-ipkg.mk base-files: add support for overlaying rootfs content 2016-12-20 09:35:36 +01:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk build: remove obsolete parallel build related options 2017-01-10 12:10:20 +01:00
prereq-build.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
prereq.mk build: do not overwrite already existing host commands 2015-09-16 12:38:16 +00:00
quilt.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
rootfs.mk build: remove stale .ipk files if package dir changes 2016-11-08 10:49:51 +01:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
scons.mk build: use CXXFLAGS if defined 2016-10-13 17:04:43 +02:00
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
subdir.mk build: implement make check and make package/X/check 2016-12-17 10:36:25 +01:00
target.mk include: Cortex-A53 is also an AArch64 CPU 2016-11-04 13:11:00 +01:00
toolchain-build.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
toplevel.mk build: ensure that prereq-build is run before metadata scan from feeds (FS#367) 2017-01-05 11:50:40 +01: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 build: unzip: perform operations quietly 2017-01-05 11:09:13 +01:00
verbose.mk build: tell users to do non-paralle builds on errors 2015-04-16 12:18:26 +00:00
version.mk build: use SNAPSHOT instead of CURRENT to designate untagged branch builds 2016-12-14 18:43:49 +01:00