From ab27b3471f38ebfdfe330a4480eb63d1de86b8ea Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 6 Jul 2025 12:34:23 +0800 Subject: [PATCH] chore: add example with u-boot cross profile --- examples/cross-shell-u-boot.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/cross-shell-u-boot.scm diff --git a/examples/cross-shell-u-boot.scm b/examples/cross-shell-u-boot.scm new file mode 100644 index 0000000000000000000000000000000000000000..e296c9f5d3a3815cd08b9afc79ee584c8c210cc1 --- /dev/null +++ b/examples/cross-shell-u-boot.scm @@ -0,0 +1,15 @@ +(use-modules + (gnu packages gcc) + (gnu packages bootloaders) + (cross-shells cross-profile)) + +(define profile + (cross-profile + (target-system "aarch64-linux-gnu") + ;; (inputs (list gcc)) + (inputs-from (list u-boot-orangepi-zero2w)))) + +(define profile-package (make-cross-profile-package + profile)) + +profile-package