duktape: drop dependency of python

This commit is contained in:
CN_SZTL 2020-07-10 23:22:39 +08:00
parent 421859180c
commit 6dfbbfb43b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 396802 additions and 5 deletions

View File

@ -22,8 +22,6 @@ PKG_MAINTAINER:=CN_SZTL <cnsztl@project-openwrt.eu.org>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=python
PKG_FIXUP:=autoreconf
PKG_USE_MIPS16:=0
PKG_BUILD_PARALLEL:=1
@ -58,9 +56,6 @@ endef
define Build/Compile
( \
cd $(PKG_BUILD_DIR); \
mkdir dist; \
$(STAGING_DIR_HOSTPKG)/bin/pip2 install PyYAML; \
$(STAGING_DIR_HOSTPKG)/bin/python2 util/dist.py; \
cd dist/source/src; \
$(TARGET_CC) -c -O3 -o duktape.o duktape.c; \
$(TARGET_CC) -c -O3 -o duk_module_node.o -I. ../extras/module-node/duk_module_node.c; \

File diff suppressed because it is too large Load Diff