~ruther/guix-local

e42a0771b7d7f0661be459658e31f5d65843ed75 — Danny Milosavljevic 9 years ago 243db82
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>
1 files changed, 3 insertions(+), 7 deletions(-)

M gnu/packages/u-boot.scm
M gnu/packages/u-boot.scm => gnu/packages/u-boot.scm +3 -7
@@ 47,15 47,11 @@
       ("flex" ,flex)))
    (arguments
     `(#: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
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-paths
           (lambda _
             (substitute* "Makefile"
               (("/usr/bin/install") "install"))
             (substitute* "Makefile"
               (("PREFIX = \\$\\(HOME\\)") ""))))
         (delete 'configure))))
    (home-page "https://www.devicetree.org")
    (synopsis "Compiles device tree source files")