guix-play/guix
Mathieu Othacehe c086c5af1c
build-system: linux-module: Fix cross compilation.
* guix/build-system/linux-module.scm (default-kmod, default-gcc): Delete
procedures.
(system->arch): New procedure.
(make-linux-module-builder)[native-inputs]: Move linux...
[inputs]: ...to here.
(linux-module-build-cross): New procedure.
(linux-module-build): Add TARGET.  Pass TARGET and ARCH to build side.
(lower): Allow cross-compilation.  Move "linux" and "linux-module-builder"
to host-inputs.  Add target-inputs.  Call linux-module-build-cross if
TARGET is set, linux-module-build otherwise.
* guix/build/linux-module-build-system.scm (configure): Add ARCH argument.
(linux-module-build): Adjust comment.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-03-22 13:20:07 +01:00
..
build build-system: linux-module: Fix cross compilation. 2020-03-22 13:20:07 +01:00
build-system build-system: linux-module: Fix cross compilation. 2020-03-22 13:20:07 +01:00
import guix: import: opam: Use a default repository. 2020-03-17 00:06:23 +01:00
scripts copy: Use 'with-build-handler'. 2020-03-22 12:42:52 +01:00
store deduplication: Use nix-base32 encoding for link names. 2020-02-22 00:46:06 +01:00
tests challenge: Add "--diff". 2019-12-12 17:56:58 +01:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm base64: Do not use (rnrs). 2019-12-15 00:34:05 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
bzr-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
channels.scm channels: Provide a hint when the 'guix' channel is lacking. 2020-01-09 23:33:04 +01:00
ci.scm ci: Use (guix json) and adjust for Guile-JSON 3.x. 2019-09-04 13:02:27 +02:00
colors.scm ui: Don't disable colors when INSIDE_EMACS is set. 2020-02-24 11:01:52 +01:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in Add (guix lzlib). 2019-05-06 23:21:33 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cve.scm cve: Rewrite to read the JSON feed instead of the XML feed. 2019-10-23 16:40:17 +02:00
cvs-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
deprecation.scm deprecation: Add a two-element form for simple aliases. 2020-01-12 00:19:09 +01:00
derivations.scm derivations: Inline 'find' in 'coalesce-duplicate-inputs'. 2020-01-23 23:34:10 +01:00
describe.scm guix package: Save provenance information when using '--manifest'. 2019-12-29 18:24:54 +01:00
diagnostics.scm diagnostics: Avoid highlighting complete messages. 2019-08-28 18:52:52 +02:00
discovery.scm discovery: 'scheme-files' ignores hidden files. 2019-07-26 21:49:25 +02:00
docker.scm pack: Provide a meaningful "repository name" for Docker. 2019-09-16 10:25:31 +02:00
download.scm download: Remove misbehaving kvin.lv mirror. 2020-03-09 16:01:17 +01:00
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
gexp.scm gexp: Add 'with-parameters'. 2020-03-12 18:32:15 +01:00
git-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
git.scm git: Add missing exports for <git-checkout>. 2020-02-10 23:31:58 +01:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm upstream: Move KDE updater into a separate module. 2019-09-10 19:04:06 +02:00
gnupg.scm gnupg: 'gnupg-verify*' returns a status symbol. 2019-12-20 22:06:05 +01:00
grafts.scm grafts: 'references-oracle' now takes a derivation input. 2019-07-02 18:33:51 +02:00
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
hg-download.scm download: Pass 'http_proxy' et al. to git, hg, etc. 2019-09-05 18:33:30 +02:00
http-client.scm download: Do not leak file descriptors on TLS ports. 2020-01-03 16:06:26 +01:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
inferior.scm inferior: '&inferior-exception' includes a stack trace. 2020-03-19 15:14:08 +01:00
json.scm Add (guix json). 2019-09-04 13:02:27 +02:00
licenses.scm licenses: Add Unicode license. 2020-02-03 16:32:39 +01:00
lint.scm guix: lint: Ad scdoc as a suggested native input. 2020-03-19 21:10:21 +01:00
lzlib.scm lzlib: Define 'dictionary-size+match-length-limit'. 2020-01-16 23:14:05 +01:00
man-db.scm profiles: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm Remove traces of "GuixSD". 2019-03-13 23:12:43 +01:00
monad-repl.scm monad-repl: Close connection when leaving the monad REPL. 2016-01-13 17:43:21 +01:00
monads.scm monads, gexp: Prevent redefinition of syntax parameters. 2019-02-06 23:06:18 +01:00
nar.scm nar: Really lock store files. 2019-06-05 23:10:37 +02:00
packages.scm packages: 'package-field-location' handles missing source properties. 2020-03-22 12:42:52 +01:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
profiles.scm system: Add kernel-loadable-modules to operating-system. 2020-03-22 12:51:50 +01:00
profiling.scm profiling: Add a "gc" profiling component. 2019-01-15 20:24:08 +01:00
progress.scm progress: Add 'progress-report-port'. 2019-12-12 17:56:58 +01:00
records.scm records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
remote.scm remote, ssh: Show the command exit status upon failure. 2019-08-28 18:52:52 +02:00
repl.scm repl: Return stack traces along with exceptions. 2020-03-19 15:14:08 +01:00
scripts.scm scripts: Show disk-space warning when under the min of the thresholds. 2020-03-06 08:32:01 +01:00
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm self: Build with Guile 3.0. 2020-01-23 23:34:10 +01:00
serialization.scm serialization: 'read-byte-string' makes a single read(2) call. 2020-01-24 23:56:43 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
ssh.scm ssh: Add Kerberos-support to ssh:// daemon URLs 2020-02-20 11:14:44 +01:00
status.scm colors: Introduce a disjoint type and pre-compute ANSI escapes. 2019-04-11 18:18:13 +02:00
store.scm store: Add 'with-build-handler'. 2020-03-22 12:42:51 +01:00
svn-download.scm guix: svn: Allow dropping externals. 2019-11-13 22:49:47 +01:00
swh.scm swh: Handle absolute URLs being returned by the API. 2020-02-23 12:30:18 +01:00
tests.scm packages: Remove 'search-bootstrap-binary'. 2019-06-14 21:57:39 +02:00
ui.scm ui: 'build-notifier' invokes continuation when there's nothing to do. 2020-03-22 12:42:52 +01:00
upstream.scm gnupg: 'gnupg-verify*' returns a status symbol. 2019-12-20 22:06:05 +01:00
utils.scm Adjust module autoloads. 2020-01-06 16:31:54 +01:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00