From 905c51ddd22cc714dd35ece3f5ac9637fda91de7 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 13 Feb 2022 19:24:31 +0100 Subject: [PATCH] try other way --- include/prereq-build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index bd8d7fa1d0..de7455cfbe 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -190,8 +190,8 @@ $(eval $(call SetupHostCommand,which,Please install 'which', \ /bin/which which, \ which which)) -$(eval $(call SetupHostCommand,swig,Please install 'swig', \ - swig -python -help |grep "Python")) +$(eval $(call $(if $(CONFIG_PACKAGE_uboot-envtools),SetupHostCommand,Ignore),swig,Please install 'swig', \ + swig -python -help 2>&1 |grep 'Python')) $(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c mkdir -p $(dir $@) -- 2.30.2