guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 09/17] gnu: dtc: Remove patch-paths phase.


From: David Craven
Subject: [PATCH 09/17] gnu: dtc: Remove patch-paths phase.
Date: Fri, 9 Sep 2016 14:34:18 +0200

From: Danny Milosavljevic <address@hidden>

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

Signed-off-by: David Craven <address@hidden>
---
 gnu/packages/u-boot.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm
index e9a4b90..7949d8a 100644
--- a/gnu/packages/u-boot.scm
+++ b/gnu/packages/u-boot.scm
@@ -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")
-- 
2.9.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]