OSDN Git Service

node: use v14.x LTS for host build
authorTianling Shen <cnsztl@immortalwrt.org>
Tue, 24 May 2022 06:39:23 +0000 (14:39 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Tue, 24 May 2022 06:41:13 +0000 (14:41 +0800)
Fixes: #375

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
lang/node/Makefile

index 8a2d431..e9414d5 100644 (file)
@@ -6,22 +6,22 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=node
 
+ifeq ($(CONFIG_NODEJS_18),y)
+PKG_VERSION:=v18.2.0
+PKG_RELEASE:=1
+PKG_HASH:=2305b15ebf5547474e905b5002f9ba99c7eeef01d7394dfe6f3846cc6bcad66d
+PATCH_DIR:=./patches/v18.x
+else
 ifeq ($(CONFIG_NODEJS_16),y)
 PKG_VERSION:=v16.15.0
 PKG_RELEASE:=1
 PKG_HASH:=a0f812efc43f78321eca08957960a48f5e6bf97004d5058c8dd3b03c646ea4f7
 PATCH_DIR:=./patches/v16.x
 else
-ifeq ($(CONFIG_NODEJS_14),y)
 PKG_VERSION:=v14.19.3
 PKG_RELEASE:=1
 PKG_HASH:=5cf45b1f1aca77523acf36240c1d53a999279070a7711eabf23346f88b0cc994
 PATCH_DIR:=./patches/v14.x
-else
-PKG_VERSION:=v18.2.0
-PKG_RELEASE:=1
-PKG_HASH:=2305b15ebf5547474e905b5002f9ba99c7eeef01d7394dfe6f3846cc6bcad66d
-PATCH_DIR:=./patches/v18.x
 endif
 endif