aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-02-15 13:54:28 +0000
committerMichael Brown <mcb30@ipxe.org>2022-02-15 13:54:28 +0000
commit5aee6b81d73086fd4a48f2280043d7b5518b3303 (patch)
treee1c3b416f09d374087cb8481a0b2bb93360fb212
parent510f9de0a23d3a64654669e1a08ad7fdba5f270b (diff)
downloadipxe-5aee6b81d73086fd4a48f2280043d7b5518b3303.zip
ipxe-5aee6b81d73086fd4a48f2280043d7b5518b3303.tar.gz
ipxe-5aee6b81d73086fd4a48f2280043d7b5518b3303.tar.bz2
[build] Avoid invoking genkeymap.py via Perl
The build process currently invokes the Python genkeymap.py script via the Perl executable. Strangely, this appears to work. Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/Makefile1
-rw-r--r--src/Makefile.housekeeping2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 83642e7..bc82cc6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -24,6 +24,7 @@ CP := cp
ECHO := echo
PRINTF := printf
PERL := perl
+PYTHON := python
TRUE := true
CC := $(CROSS_COMPILE)gcc
CPP := $(CC) -E
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 24ed5d1..9bf34b2 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -1563,7 +1563,7 @@ endif # defined(BIN)
#
hci/keymap/keymap_%.c :
- $(Q)$(PERL) $(GENKEYMAP) $* > $@
+ $(Q)$(PYTHON) $(GENKEYMAP) $* > $@
###############################################################################
#