Files
lbmk/config/memtest86plus/patches/0001-add-central-Makefile-in-main-directory.patch
Leah Rowe 21db72b695 disable 32-bit memtest86plus, only build 64-bit
some users reported build errors. technically, there's
nothing wrong with lbmk but it relies on hostcc, and
hostcc is hit or miss when it comes to cross compiling
32-bit, depending on the build system of whatever project.

lbmk needs to handle cross compilation. for now, i'm just
disabling memtest86plus on non-64-bit hosts.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-10-09 06:06:20 +01:00

42 lines
1.0 KiB
Diff

From 81d850494c3cde1da33cc2df44837c839c1f2c60 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Fri, 6 Oct 2023 23:17:06 +0100
Subject: [PATCH 1/1] add central Makefile in main directory
it only does build64. i'm disabling use of 32-bit memtest in lbmk,
until i can figure out a more consistent cross-compile method,
rather than relying on hostcc.
a user on irc reported build issues on pop os
it's not pop's fault. lbmk needs to start handling cross
compilers properly. (alternatively, i could rig memtest86+
to use crossgcc. i'll explore that later)
Signed-off-by: Leah Rowe <leah@libreboot.org>
---
Makefile | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 Makefile
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..59fcbef
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: MIT
+# SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org>
+
+all:
+ make -C build64
+
+clean:
+ make -C build64 clean
+
+distclean:
+ make -C build64 clean
--
2.39.2