From 3a61782f1215e70fd2ce5bab547f323d6119340e Mon Sep 17 00:00:00 2001 From: John Reiser Date: Wed, 8 Oct 2025 14:18:52 -0700 Subject: [PATCH] no more PYTHON2 modified: src/stub/Makefile --- src/stub/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/stub/Makefile b/src/stub/Makefile index 59b6762d..ac01b70f 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -207,7 +207,6 @@ tc_objdump_disasm_options = ECHO_e = /bin/echo -e ECHO_E = /bin/echo -E PERL = perl -PYTHON2 = python2 UNIX2DOS := $(PERL) -i -pe 's/$$/\r/;' # trim (strip) trailing whitespace @@ -240,15 +239,15 @@ define tc endef # default tools -tc.default.bin2h = $(PYTHON2) $(top_srcdir)/src/stub/scripts/bin2h.py --ident=auto-stub +tc.default.bin2h = python $(top_srcdir)/src/stub/scripts/bin2h.py --ident=auto-stub ##tc.default.bin2h-c = $(call tc,bin2h) --compress=14,15,0 tc.default.bin2h-c = $(call tc,bin2h) --compress=0 -tc.default.brandelf = $(PYTHON2) $(top_srcdir)/src/stub/scripts/brandelf.py $(if $(tc_bfdname),--bfdname=$(tc_bfdname)) -tc.default.gpp_inc = $(PYTHON2) $(top_srcdir)/src/stub/scripts/gpp_inc.py -tc.default.gpp_mkdep = $(PYTHON2) $(top_srcdir)/src/stub/scripts/gpp_inc.py -o /dev/null +tc.default.brandelf = python $(top_srcdir)/src/stub/scripts/brandelf.py $(if $(tc_bfdname),--bfdname=$(tc_bfdname)) +tc.default.gpp_inc = python $(top_srcdir)/src/stub/scripts/gpp_inc.py +tc.default.gpp_mkdep = python $(top_srcdir)/src/stub/scripts/gpp_inc.py -o /dev/null tc.default.pp-as = i386-linux-gcc-3.4.6 -E -nostdinc -x assembler-with-cpp -Wall tc.default.sstrip = sstrip-20060518 -tc.default.xstrip = $(PYTHON2) $(top_srcdir)/src/stub/scripts/xstrip.py +tc.default.xstrip = python $(top_srcdir)/src/stub/scripts/xstrip.py # default multiarch-binutils tc.default.m-ar = multiarch-ar-2.17