`tools/configure.py` uses Python2 syntax. If only using `python` as the
command, this may cause the use of Python3, and that results in syntax
errors. Thus this commit enforces the use of `python2`.
Signed-off-by: Dovydas VadiĊĦius <vadisius.dovydas@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Radu Nichita <radunichita99@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #4
$(DUKTAPE_BUILD)/.prepared: $(DUKTAPE_BUILD)/.origin
$(call build_cmd,CONF,duktape,$@,\
cd $(DUKTAPE_EXTRACTED)/ && \
- python tools/configure.py --output-directory duktape-src -DDUK_USE_FASTINT -UDUK_USE_ES6_PROXY && \
+ python2 tools/configure.py --output-directory duktape-src -DDUK_USE_FASTINT -UDUK_USE_ES6_PROXY && \
touch $@)
UK_PREPARE += $(DUKTAPE_BUILD)/.prepared