mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: dtc: Build python bindings.
* gnu/packages/bootloaders.scm (dtc)[native-inputs]: Add swig. [inputs]: Add python-2. [arguments]: Remove 'NO_PYTHON' from make-flags, add 'SETUP_PREFIX' to set python bindings prefix.
This commit is contained in:
parent
ab8757c5b1
commit
12c613b548
1 changed files with 6 additions and 2 deletions
|
@ -43,6 +43,7 @@ (define-module (gnu packages bootloaders)
|
|||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages swig)
|
||||
#:use-module (gnu packages virtualization)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix download)
|
||||
|
@ -292,12 +293,15 @@ (define-public dtc
|
|||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("bison" ,bison)
|
||||
("flex" ,flex)))
|
||||
("flex" ,flex)
|
||||
("swig" ,swig)))
|
||||
(inputs
|
||||
`(("python-2" ,python-2)))
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list "CC=gcc"
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||
"NO_PYTHON=1"
|
||||
(string-append "SETUP_PREFIX=" (assoc-ref %outputs "out"))
|
||||
"INSTALL=install")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue