diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-30 11:38:29 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-01 22:54:41 +0100 |
commit | 819e2b9c3405450561e3d9f18123be5fff88106d (patch) | |
tree | 49874e5f99537a45e23627413cd42071497acf28 /support/testing/tests/package/test_python_subprocess32.py | |
parent | 21c6fb2589fb36d0d9367efe906c94da67cbf009 (diff) | |
download | buildroot-819e2b9c3405450561e3d9f18123be5fff88106d.tar.gz buildroot-819e2b9c3405450561e3d9f18123be5fff88106d.zip |
package/luarocks: rework configuration file for per-package directories
Currently, luarocks.mk generates a configuration file with hardcoded
STAGING_DIR, TARGET_DIR, TARGET_CC, LUAROCKS_CFLAGS and TARGET_LDFLAGS
values. This is not compatible with per-package directories, where the
value of STAGING_DIR, TARGET_DIR, TARGET_CC and possibly
TARGET_CFLAGS/TARGET_LDFLAGS may be different from one package to the
other.
Based on input from François Perrad, this commit:
- Changes the Luarocks configuration file to use os_getenv() for the
appropriate variables. Since the contents of this file is not
fixed, it is no longer generated by luarocks.mk using a series of
'echo' but simply concatenated with the rest of the Luarocks
configuration file.
- Adjusts LUAROCKS_RUNV_ENV so that the necessary environment
variables are now passed.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support/testing/tests/package/test_python_subprocess32.py')
0 files changed, 0 insertions, 0 deletions