diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-22 11:34:28 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-22 11:34:28 +0100 |
commit | fc0720184d954690071dcbf1c9322a2006701a94 (patch) | |
tree | 964d8ca55097f01d45f9cae501ba35db44debf73 /config/pcsx-redux/patches/0002-lbmk-hack-add-no-ops-for-config-commands.patch | |
parent | f9266601b8c73daf36518c71db5e5c36080f3ddf (diff) |
xbmk: add fake config makefile args to flashprog
also pcsx-redux
this way, commands like "./mk -u" without argument
will not fail. these fake makefile commands do nothing.
otherwise, an error errors because their makefiles
do not define these options.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/pcsx-redux/patches/0002-lbmk-hack-add-no-ops-for-config-commands.patch')
-rw-r--r-- | config/pcsx-redux/patches/0002-lbmk-hack-add-no-ops-for-config-commands.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/config/pcsx-redux/patches/0002-lbmk-hack-add-no-ops-for-config-commands.patch b/config/pcsx-redux/patches/0002-lbmk-hack-add-no-ops-for-config-commands.patch new file mode 100644 index 00000000..1a495d60 --- /dev/null +++ b/config/pcsx-redux/patches/0002-lbmk-hack-add-no-ops-for-config-commands.patch @@ -0,0 +1,43 @@ +From e4cd98fb5e3baf8260a3692cab745dea925b0764 Mon Sep 17 00:00:00 2001 +From: Leah Rowe <leah@libreboot.org> +Date: Thu, 22 May 2025 11:29:37 +0100 +Subject: [PATCH 1/1] lbmk hack: add no-ops for config commands + +./mk -u, -m, -s, -l and -n cause errors without +arguments, because pcsx-redux's makefile doesn't +have them. additionally, i use my own makefile here, +so that only the openbios is compiled. + +add these so that lbmk doesn't crash during tests. + +Signed-off-by: Leah Rowe <leah@libreboot.org> +--- + lbmkbofhmakefile | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +diff --git a/lbmkbofhmakefile b/lbmkbofhmakefile +index fe2e36d2..e0e2a11e 100644 +--- a/lbmkbofhmakefile ++++ b/lbmkbofhmakefile +@@ -14,3 +14,18 @@ clean: + + distclean: + make -C src/mips/openbios clean ++ ++oldconfig: ++ : ++ ++menuconfig: ++ : ++ ++savedefconfig: ++ : ++ ++olddefconfig: ++ : ++ ++nconfig: ++ : +-- +2.39.5 + |