diff options
Diffstat (limited to 'recipes-bsp/systemd-boot/systemd-boot/rmc-boot.inc')
-rw-r--r-- | recipes-bsp/systemd-boot/systemd-boot/rmc-boot.inc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-bsp/systemd-boot/systemd-boot/rmc-boot.inc b/recipes-bsp/systemd-boot/systemd-boot/rmc-boot.inc deleted file mode 100644 index bbe3aea2..00000000 --- a/recipes-bsp/systemd-boot/systemd-boot/rmc-boot.inc +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | # This patchset contains hooks that allows systemd-boot to use RMC capablilities. | ||
2 | python __anonymous () { | ||
3 | import re | ||
4 | target = d.getVar('TARGET_ARCH') | ||
5 | prefix = "" if d.getVar('EFI_PROVIDER') == "rmc-boot" else "systemd-" | ||
6 | if target == "x86_64": | ||
7 | systemdimage = prefix + "bootx64.efi" | ||
8 | else: | ||
9 | systemdimage = prefix + "bootia32.efi" | ||
10 | d.setVar("SYSTEMD_BOOT_IMAGE", systemdimage) | ||
11 | prefix = "systemd-" if prefix == "" else "" | ||
12 | d.setVar("SYSTEMD_BOOT_IMAGE_PREFIX", prefix) | ||
13 | } | ||
14 | |||
15 | DEPENDS_append_intel-x86-common = " rmc rmc-efi" | ||
16 | RDEPENDS_${PN}_append_intel-x86-common = " rmc-db" | ||
17 | |||
18 | EXTRA_OEMESON_append_intel-x86-common = ' \ | ||
19 | -Drmc-includedir="${STAGING_INCDIR}/rmc" \ | ||
20 | ' | ||
21 | |||
22 | SRC_URI_append_intel-x86-common = " \ | ||
23 | file://0001-partially-revert-sd-boot-stub-Obtain-PE-section-offs.patch \ | ||
24 | file://0002-sd-boot-fix-RMC-compatibility-with-systemd-boot-and-.patch \ | ||
25 | file://0003-sd-boot-Load-board-specific-boot-entries-from-RMC-da.patch \ | ||
26 | file://0004-sd-boot-Support-global-kernel-command-line-fragment.patch \ | ||
27 | file://0005-sd-boot-support-global-kernel-command-line-in-EFI-st.patch \ | ||
28 | " | ||
29 | |||
30 | RPROVIDES_${PN} += "rmc-boot" | ||