diff options
author | Denis OSTERLAND <denis.osterland@diehl.com> | 2019-01-21 12:01:21 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-06 07:15:53 +0100 |
commit | 01a97ba2a0a4f6d076dd40ae12855f6de0d8f469 (patch) | |
tree | 40dffd542bd20ac6c54e9b3e32b39d742ec6acee | |
parent | e59457c6d8ff080aca07352e7adb3ff73d976ae6 (diff) | |
download | ptxdist-01a97ba2a0a4f6d076dd40ae12855f6de0d8f469.tar.gz ptxdist-01a97ba2a0a4f6d076dd40ae12855f6de0d8f469.tar.xz |
host-python-scons: add new package
This patch adds support for scons build system.
https://scons.org/
Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-python-scons.in | 6 | ||||
-rw-r--r-- | rules/host-python-scons.make | 35 |
2 files changed, 41 insertions, 0 deletions
diff --git a/rules/host-python-scons.in b/rules/host-python-scons.in new file mode 100644 index 000000000..0343fc8e1 --- /dev/null +++ b/rules/host-python-scons.in @@ -0,0 +1,6 @@ +## SECTION=hosttools_noprompt + +config HOST_PYTHON_SCONS + tristate + default y if ALLYES + select HOST_SYSTEM_PYTHON diff --git a/rules/host-python-scons.make b/rules/host-python-scons.make new file mode 100644 index 000000000..8fd42a41f --- /dev/null +++ b/rules/host-python-scons.make @@ -0,0 +1,35 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Denis Osterland <Denis.Osterland@diehl.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_PYTHON_SCONS) += host-python-scons + +# +# Paths and names +# +HOST_PYTHON_SCONS_VERSION := 3.0.1 +HOST_PYTHON_SCONS_MD5 := b6a292e251b34b82c203b56cfa3968b3 +HOST_PYTHON_SCONS := python-scons-$(HOST_PYTHON_SCONS_VERSION) +HOST_PYTHON_SCONS_SUFFIX := tar.gz +HOST_PYTHON_SCONS_URL := $(call ptx/mirror, SF, scons/scons-$(HOST_PYTHON_SCONS_VERSION).$(HOST_PYTHON_SCONS_SUFFIX)) +HOST_PYTHON_SCONS_SOURCE := $(SRCDIR)/$(HOST_PYTHON_SCONS).$(HOST_PYTHON_SCONS_SUFFIX) +HOST_PYTHON_SCONS_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON_SCONS) +HOST_PYTHON_SCONS_LICENSE := MIT +HOST_PYTHON_SCONS_LICENSE_FILES := file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_PYTHON_SCONS_CONF_TOOL := python + +# vim: syntax=make |