Files
packages/lang
Jo-Philipp Wich 4a083de4a9 python3: avoid use of HOST_BUILD_PREFIX
Currently, the python3-package.mk framework relies on HOST_BUILD_PREFIX to
refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX
variable requires the use of include/host-build.mk which in turn includes
python3-package.mk, leading to target redefinition errors.

In order to provide a global, uniform way to refer to the host staging
directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points
to $(STAGING_DIR)/host for now with the purpose of eventually being able to
relocate that directory in the future.

This commit changes python3-package.mk to ...
 - stop including include/host-build.mk (revert of #3423)
 - replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
 - warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is
   unavailable

The fallback code will ensure that the python host build infrastructure
continues to work properly on older OpenWrt and LEDE versions until the
STAGING_DIR_HOSTPKG is fully settled in and can be removed some time
in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-11-01 12:57:41 +01:00
..
2015-05-13 02:30:20 +02:00
2015-01-06 08:03:36 -08:00
2016-07-10 19:20:01 +03:00
2015-05-04 22:15:22 +08:00
2016-10-30 11:34:26 +02:00
2016-04-29 21:40:17 +02:00
2016-08-23 15:02:10 +03:00
2016-09-16 14:04:52 -04:00
2014-08-27 15:12:16 +08:00
2015-06-17 22:56:26 +08:00
2015-11-22 15:40:20 -06:00
2015-11-22 15:42:19 -06:00
2015-09-14 15:33:18 +02:00
2015-09-14 15:33:18 +02:00
2015-06-30 10:58:19 +02:00
2015-06-30 10:58:19 +02:00
2016-01-23 14:15:55 +01:00
2015-12-21 17:54:02 +01:00
2015-06-30 10:58:19 +02:00
2016-10-16 20:53:46 +02:00
2016-08-22 18:39:24 +02:00
2015-06-16 09:54:01 +02:00
2016-03-17 21:26:14 +08:00
2016-03-22 19:52:42 +08:00
2016-10-17 19:55:39 +08:00
2015-11-13 16:35:14 +08:00
2016-08-30 12:57:11 +02:00
2016-05-01 19:56:52 -03:00
2016-09-22 22:44:39 +08:00
2016-10-30 23:01:52 +01:00