Hi Mike, On 3 April 2017 at 12:41, Mike Frysinger <vapier@xxxxxxxxxx> wrote: > On 26 Mar 2017 13:06, Simon Glass wrote: >> --- a/Makefile >> +++ b/Makefile >> @@ -120,6 +120,7 @@ SCRIPTS = dtdiff >> # We need both Python and swig to build pylibfdt. >> .PHONY: maybe_pylibfdt >> maybe_pylibfdt: FORCE >> + if [ -n "${NO_PYTHON}" ]; then exit; fi; \ > > normally this is handled at the Makefile level, not inline in the script. Yes it's pretty funny that I didn't just do that. > also, negative variables are messy. But I want to build Python by default! > > what about: > PYTHON ?= y > ifeq ($(PYTHON),y) > all: maybe_pylibfdt > endif > -mike Regards, Simon -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html