gnu: dtc: Remove patch-paths phase.

* gnu/packages/u-boot.scm (dtc)[arguments]: Remove patch-paths phase.
  [configure-flags]: Add INSTALL.

Signed-off-by: David Craven <david@craven.ch>
This commit is contained in:
Danny Milosavljevic 2016-09-08 17:10:42 +02:00 committed by David Craven
parent 243db8245e
commit e42a0771b7
No known key found for this signature in database
GPG Key ID: C5E051C79C0BECDB
1 changed files with 3 additions and 7 deletions

View File

@ -47,15 +47,11 @@
("flex" ,flex))) ("flex" ,flex)))
(arguments (arguments
`(#:make-flags `(#:make-flags
(list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out"))) (list "CC=gcc"
(string-append "PREFIX=" (assoc-ref %outputs "out"))
"INSTALL=install")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda _
(substitute* "Makefile"
(("/usr/bin/install") "install"))
(substitute* "Makefile"
(("PREFIX = \\$\\(HOME\\)") ""))))
(delete 'configure)))) (delete 'configure))))
(home-page "https://www.devicetree.org") (home-page "https://www.devicetree.org")
(synopsis "Compiles device tree source files") (synopsis "Compiles device tree source files")