Skip to content

Commit

Permalink
support/makefile.patch: Change PYTHONCMD to python3
Browse files Browse the repository at this point in the history
Make it so that python3 is used to run scripts.

Co-authored-by: Eddie Cazares <ecazares15@utexas.edu>
Co-authored-by: Lindsey Bowen  <lindseyb803@gmail.com>
Signed-off-by: Thomas Bunch  <tebunch@utexas.edu>
  • Loading branch information
3 people authored and tebunch committed May 3, 2024
1 parent 6e1011b commit 238186e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/kconfiglib/makefile.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ index 3f327e21f60e..8b7dd1292005 100644

+PHONY += scriptconfig iscriptconfig kmenuconfig guiconfig dumpvarsconfig
+
+PYTHONCMD ?= python
+PYTHONCMD ?= python3
+kpython := PYTHONPATH=$(srctree)/Kconfiglib:$$PYTHONPATH $(PYTHONCMD)
+
+ifneq ($(filter scriptconfig,$(MAKECMDGOALS)),)
Expand Down

0 comments on commit 238186e

Please sign in to comment.