From 5739ca050030d722d8884597d6fe453b9576517d Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Fri, 29 Dec 2023 13:35:36 -0500 Subject: [PATCH] librecmc : Add python3.12 to the list and fixup grep issue --- Makefile | 2 +- include/prereq-build.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ac447573f5..941bc4caf8 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the libreCMC di world: -DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '\/usr' | head -n 1) +DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '/usr' | head -n 1) export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) ifneq ($(LIBRECMC_BUILD),1) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index eb6970bb45..b60f9cb8ca 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -145,6 +145,7 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ $(eval $(call CleanupPython2)) $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \ + python3.12 -V 2>&1 | grep 'Python 3', \ python3.11 -V 2>&1 | grep 'Python 3', \ python3.10 -V 2>&1 | grep 'Python 3', \ python3.9 -V 2>&1 | grep 'Python 3', \ -- 2.25.1