unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Simplify dtc package definition.
@ 2016-09-07  7:46 Danny Milosavljevic
  2016-09-07  8:15 ` David Craven
  0 siblings, 1 reply; 10+ messages in thread
From: Danny Milosavljevic @ 2016-09-07  7:46 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 99 bytes --]

---
 gnu/packages/u-boot.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Simplify-dtc-package-definition.patch --]
[-- Type: text/x-patch; name="0001-gnu-Simplify-dtc-package-definition.patch", Size: 887 bytes --]

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")

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-09-10 18:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-07  7:46 [PATCH] gnu: Simplify dtc package definition Danny Milosavljevic
2016-09-07  8:15 ` David Craven
2016-09-07  9:01   ` Danny Milosavljevic
2016-09-08 15:09     ` David Craven
2016-09-08 17:55       ` Danny Milosavljevic
2016-09-08 18:45         ` David Craven
2016-09-08 19:32           ` Danny Milosavljevic
2016-09-08 20:16             ` David Craven
2016-09-10 18:19           ` Leo Famulari
2016-09-10 18:22             ` David Craven

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).