gnu: linux-libre: Use "make dtbs_install" to install device tree files.
* gnu/packages/linux.scm (make-linux-libre): Use "make dtbs_install" to install device tree files. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
62813c10a9
commit
a8e3fd5f9d
|
@ -366,8 +366,10 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
|||
(for-each (lambda (file) (install-file file out))
|
||||
(find-files "." "^(\\.config|bzImage|zImage|Image|vmlinuz|System\\.map)$"))
|
||||
;; Install device tree files
|
||||
(for-each (lambda (file) (install-file file dtbdir))
|
||||
(find-files "." "\\.dtb$"))
|
||||
(unless (null? (find-files "." "\\.dtb$"))
|
||||
(mkdir-p dtbdir)
|
||||
(invoke "make" (string-append "INSTALL_DTBS_PATH=" dtbdir)
|
||||
"dtbs_install"))
|
||||
;; Install kernel modules
|
||||
(mkdir-p moddir)
|
||||
(invoke "make"
|
||||
|
|
Loading…
Reference in New Issue