diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-03-20 16:13:20 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-03-22 13:20:07 +0100 |
commit | c086c5af1c48f5caf749ff33498d051d5378d361 (patch) | |
tree | 77f22ebbe9182e37a61d44ae3cbfb56ca80f04bd /gnu/packages | |
parent | 5c79f238634c5adb6657f1b4b1bb4ddb8bb73ef1 (diff) | |
download | patches-c086c5af1c48f5caf749ff33498d051d5378d361.tar patches-c086c5af1c48f5caf749ff33498d051d5378d361.tar.gz |
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>
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions