Re: [U-Boot] [PATCH] libfdt: give setup.py optional interpreter

2017-10-16 Thread Matthew Weber
Ben, All,

On Thu, Oct 12, 2017 at 9:32 PM, Matt Weber
 wrote:
> If building in a sandboxed environment where a
> alternate python interpreter is desired. Allow
> configuring of the PYTHON variable to specify
> the interpreter to invoke setup.py.
>

Ignore, I was not against the latest codebase for this patch (used
2017.7 and noticed this was added in a commit on 2017.9.03).

There is still one piece missing and that's the check for SWIG
(Makefile:237) should also use a variable we could override to look at
an alternate location.  Should I propose a patch?

Matt


> Signed-off-by: Matthew Weber 
> ---
>  tools/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/Makefile b/tools/Makefile
> index 77706a9..30505dc 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -136,7 +136,7 @@ tools/_libfdt.so: $(LIBFDT_SRCS) $(LIBFDT_SWIG)
> CPPFLAGS="$(_hostc_flags)" OBJDIR=tools \
> SOURCES="$(LIBFDT_SRCS) tools/libfdt.i" \
> SWIG_OPTS="-I$(srctree)/lib/libfdt -I$(srctree)/lib" \
> -   $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
> +   $(PYTHON) $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
> --build-lib tools
>
>  ifneq ($(CONFIG_MX23)$(CONFIG_MX28),)
> --
> 1.8.3.1
>



-- 
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.we...@corp.rockwellcollins.com.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH] libfdt: give setup.py optional interpreter

2017-10-12 Thread Matt Weber
If building in a sandboxed environment where a
alternate python interpreter is desired. Allow
configuring of the PYTHON variable to specify
the interpreter to invoke setup.py.

Signed-off-by: Matthew Weber 
---
 tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Makefile b/tools/Makefile
index 77706a9..30505dc 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -136,7 +136,7 @@ tools/_libfdt.so: $(LIBFDT_SRCS) $(LIBFDT_SWIG)
CPPFLAGS="$(_hostc_flags)" OBJDIR=tools \
SOURCES="$(LIBFDT_SRCS) tools/libfdt.i" \
SWIG_OPTS="-I$(srctree)/lib/libfdt -I$(srctree)/lib" \
-   $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
+   $(PYTHON) $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
--build-lib tools
 
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28),)
-- 
1.8.3.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot