Move to /usr prefix.

- This is much more standard and replaces /image in sysa and is the
  standard in sysc (avoids many issues).
- GCC needs to have a file created for some unknown reason.
- Checksums updated.
This commit is contained in:
fosslinux 2021-07-26 15:25:15 +10:00
parent ddd4f1bc81
commit b93a931a53
104 changed files with 659 additions and 722 deletions

View file

@ -1,4 +1,5 @@
; SPDX-FileCopyrightText: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
; SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
;
; SPDX-License-Identifier: GPL-3.0-or-later
@ -12,9 +13,9 @@
(cdr (string-split %host-type #\-)))))))
(define %prefix (or (getenv "MES_PREFIX")
(if (string-prefix? "@prefix" "/image")
(if (string-prefix? "@prefix" "/usr")
""
"/image")))
"/usr")))
(define %includedir (or (getenv "includedir")
(string-append %prefix "/include")))