]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Avoid invoking genkeymap.py via Perl
authorMichael Brown <mcb30@ipxe.org>
Tue, 15 Feb 2022 13:54:28 +0000 (13:54 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 15 Feb 2022 13:54:28 +0000 (13:54 +0000)
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>
src/Makefile
src/Makefile.housekeeping

index 83642e7894aa1a1472bbcc591414eec25822a834..bc82cc6fe082956a8e25ca1554d719f36542fd26 100644 (file)
@@ -24,6 +24,7 @@ CP            := cp
 ECHO           := echo
 PRINTF         := printf
 PERL           := perl
+PYTHON         := python
 TRUE           := true
 CC             := $(CROSS_COMPILE)gcc
 CPP            := $(CC) -E
index 24ed5d13b672ad099d2c62516f0846ecad5eaeaf..9bf34b2e698f3959c4fc003476aaebe970e67f35 100644 (file)
@@ -1563,7 +1563,7 @@ endif # defined(BIN)
 #
 
 hci/keymap/keymap_%.c :
-       $(Q)$(PERL) $(GENKEYMAP) $* > $@
+       $(Q)$(PYTHON) $(GENKEYMAP) $* > $@
 
 ###############################################################################
 #