From d2a4fa61e2827359b95484084aa692b03e59f9b9 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Fri, 15 Oct 2021 16:29:06 -0300 Subject: [PATCH] lua-wsapi: build each variant in its own dir This avoids unnecessary package rebuilds, when running make back to back. Signed-off-by: Eneas U de Queiroz --- lang/lua-wsapi/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/lua-wsapi/Makefile b/lang/lua-wsapi/Makefile index 71e5aad554..5a1c99b871 100644 --- a/lang/lua-wsapi/Makefile +++ b/lang/lua-wsapi/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lua-wsapi PKG_VERSION:=1.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/keplerproject/wsapi/tar.gz/v$(PKG_VERSION)? PKG_HASH:=48dc7aba0fd2e96a3e5ef51045b5d923964f6ae299de761aa0467031ad44e987 -PKG_BUILD_DIR:=$(BUILD_DIR)/wsapi-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/wsapi-$(PKG_VERSION) PKG_MAINTAINER:=Dirk Chang PKG_LICENSE:=MIT -- 2.30.2