aboutsummaryrefslogtreecommitdiffstats
path: root/include/prereq.mk
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2023-05-16 03:22:09 -0400
committerPetr Štetiar <ynezz@true.cz>2023-05-21 19:39:35 +0200
commite2f9fa42044a2660f702a9b51b14cbde24a13702 (patch)
tree0a148755497351c995f941a516146fe0b68b0848 /include/prereq.mk
parentf75204036ccc56700df18258602cc65726dd653b (diff)
downloadupstream-e2f9fa42044a2660f702a9b51b14cbde24a13702.tar.gz
upstream-e2f9fa42044a2660f702a9b51b14cbde24a13702.tar.bz2
upstream-e2f9fa42044a2660f702a9b51b14cbde24a13702.zip
prereq-build: remove python 2 cleanup recipe
This reverts commit 3b68fb57c938af3948ae4c2da61501183fbef649. After refactoring build checks to update old symlinks, and after a long time of no python 2 support, this is no longer needed. Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'include/prereq.mk')
-rw-r--r--include/prereq.mk12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index 89660d323d9..5646b24efaa 100644
--- a/include/prereq.mk
+++ b/include/prereq.mk
@@ -77,18 +77,6 @@ define RequireCHeader
$$(eval $$(call Require,$(1),$(2)))
endef
-define CleanupPython2
- define Require/python2-cleanup
- if [ -f "$(STAGING_DIR_HOST)/bin/python" ] && \
- $(STAGING_DIR_HOST)/bin/python -V 2>&1 | \
- grep -q 'Python 2'; then \
- rm $(STAGING_DIR_HOST)/bin/python; \
- fi
- endef
-
- $$(eval $$(call Require,python2-cleanup))
-endef
-
define QuoteHostCommand
'$(subst ','"'"',$(strip $(1)))'
endef