You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 years ago
..
site toolchain: add support of ARC architecture 9 years ago
autotools.mk autotools: use correct version for gettext FIXUP 8 years ago
cmake.mk build: use CXXFLAGS if defined 8 years ago
debug.mk include: remove trailing whitespaces 9 years ago
depends.mk build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
device_table.txt image: ensure that /dev/console exist in rootfs images 11 years ago
download.mk build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
feeds.mk build: remove stale .ipk files if package dir changes 8 years ago
hardening.mk hardening: make override variables more intuitive 9 years ago
host-build.mk build: fix HOST_CONFIGURE_VARS placement 8 years ago
host.mk include: remove trailing whitespaces 9 years ago
image-commands.mk build: add image command for calling kernel2minor 8 years ago
image-legacy.mk build: fix build of ubifs images 8 years ago
image.mk build: remove obsolete parallel build related options 8 years ago
kernel-build.mk treewide: clean up download hashes 8 years ago
kernel-defaults.mk build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
kernel-version.mk kernel: bump to 4.4.40 8 years ago
kernel.mk kernel: allow subtarget specific KernelPackage 8 years ago
netfilter.mk kernel: netfilter: split out iptable_raw into a separate package 8 years ago
nls.mk nls.mk: add -rpath-link when needed for NLS support 9 years ago
package-bin.mk include: remove trailing whitespaces 9 years ago
package-defaults.mk build: copy contents of 'src' folder to build dirs (if present) 8 years ago
package-dumpinfo.mk include: fix nonshared flag handling 8 years ago
package-ipkg.mk base-files: add support for overlaying rootfs content 8 years ago
package-seccomp.mk include: add a seccomp filter install wrapper 9 years ago
package.mk build: remove obsolete parallel build related options 8 years ago
prereq-build.mk build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
prereq.mk build: do not overwrite already existing host commands 9 years ago
quilt.mk build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
rootfs.mk build: remove stale .ipk files if package dir changes 8 years ago
scan.awk build: propagate override information to .packageinfo 10 years ago
scan.mk build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
scons.mk build: use CXXFLAGS if defined 8 years ago
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 8 years ago
subdir.mk build: implement make check and make package/X/check 8 years ago
target.mk include: Cortex-A53 is also an AArch64 CPU 8 years ago
toolchain-build.mk include: remove trailing whitespaces 9 years ago
toplevel.mk build: ensure that prereq-build is run before metadata scan from feeds (FS#367) 8 years ago
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 11 years ago
unpack.mk build: unzip: perform operations quietly 8 years ago
verbose.mk build: tell users to do non-paralle builds on errors 9 years ago
version.mk build: use SNAPSHOT instead of CURRENT to designate untagged branch builds 8 years ago