scons: update to 4.0.1

Cleaned up Makefile to standards.

Replaced HIDDEN with BUILDONLY. It's more descriptive.

Added PKG_HOST_ONLY. This is a host only package.

Added HOST_BUILD_PARALLEL.

Added URL for uscan.

Added patch to fix library searching.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-08-02 01:03:58 -07:00
parent c4254a3824
commit 572e34843a
3 changed files with 22 additions and 7 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
--- a/scons-local-3.1.2/SCons/Platform/__init__.py
+++ b/scons-local-3.1.2/SCons/Platform/__init__.py
@@ -65,6 +65,8 @@ def platform_default():
--- a/scons-local-4.0.1/SCons/Platform/__init__.py
+++ b/scons-local-4.0.1/SCons/Platform/__init__.py
@@ -63,6 +63,8 @@ def platform_default():
care about the machine architecture.
"""
osname = os.name
@@ -0,0 +1,10 @@
--- a/scons.py
+++ b/scons.py
@@ -56,6 +56,7 @@ if script_path in sys.path:
sys.path.remove(script_path)
libs = []
+libs = [os.path.join(os.path.dirname(script_dir), 'lib', 'scons')]
if "SCONS_LIB_DIR" in os.environ:
libs.append(os.environ["SCONS_LIB_DIR"])