From a865a7b4ed8fcd2816343cb3b0833ab3d6ceb40a Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Mon, 25 Sep 2023 00:49:21 +0200 Subject: [PATCH] luajit2: replace arch dependency to common config HAS_LUAJIT_ARCH Replace arch dependency to common config HAS_LUAJIT_ARCH from luajit package. Signed-off-by: Christian Marangi --- lang/luajit2/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang/luajit2/Makefile b/lang/luajit2/Makefile index ba002be5ef..86dc280187 100644 --- a/lang/luajit2/Makefile +++ b/lang/luajit2/Makefile @@ -17,13 +17,17 @@ PKG_BUILD_FLAGS:=no-mips16 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk +# HAS_LUAJIT_ARCH config is defined in luajit and is used to define +# arch deoendency for luajit. Since luajit2 is an improved version of +# luajit, they share the same arch dependency. Refer there to update +# dependency for them. define Package/luajit2 SECTION:=lang CATEGORY:=Languages SUBMENU:=Lua TITLE:=LuaJIT from OpenResty URL:=https://www.luajit.org - DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64) + DEPENDS:=@HAS_LUAJIT_ARCH PROVIDES:=luajit endef