From 5aee6b81d73086fd4a48f2280043d7b5518b3303 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 15 Feb 2022 13:54:28 +0000 Subject: [PATCH] [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 --- src/Makefile | 1 + src/Makefile.housekeeping | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 83642e789..bc82cc6fe 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 24ed5d13b..9bf34b2e6 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) $* > $@ ############################################################################### #