From patchwork Mon Jul 27 20:33:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1337289 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=aop9rr3K; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFs2k04Xvz9sT6 for ; Tue, 28 Jul 2020 06:33:34 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5909521574; Mon, 27 Jul 2020 20:33:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wZEuHF72pg-i; Mon, 27 Jul 2020 20:33:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2D2EA2206D; Mon, 27 Jul 2020 20:33:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 002901BF973 for ; Mon, 27 Jul 2020 20:33:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E3B9920420 for ; Mon, 27 Jul 2020 20:33:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yeHlqfAA1gQT for ; Mon, 27 Jul 2020 20:33:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by silver.osuosl.org (Postfix) with ESMTPS id 6A06C21574 for ; Mon, 27 Jul 2020 20:33:11 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id f1so15605077wro.2 for ; Mon, 27 Jul 2020 13:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vM3NaYQ47HsJ3+eo8LtLTbV6Soh69ss/9TFqQwV8pZY=; b=aop9rr3K6M5Xb399hw6q0Ood72t6I7dz2Bqcnp/cziCx7fExkTc7TKLg2jXwu+iCHx 9juAyZfV+v4vu9Tz3kGqU8mQI6qG925QBfBp5R/DO19AU8/1mmUbs+mDBeXDVrhRO2yz LFUPjLy6iQlUgK0DZP1K8I9uR7INC2YRTFzbT2fo9b3QjOiUynvj+U3hEbQcip7fvjYi 0rmz6557qwMe51X1nUBP+mFIfZT+GLL2UK8MTi183Ctt03C40QnjA6O4cvaLlOc2ybRU UjS9H9HiI7uVsat1DA3L1B8iy9yPyyxtq+GAjZSwfHy02SdqDYcf3QToiMoupPgo5u1m uDUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=vM3NaYQ47HsJ3+eo8LtLTbV6Soh69ss/9TFqQwV8pZY=; b=U357ZUXeIsj5SK2S4X4LjXJrX8OGYoOsw+G40VtEQVkGt0q1C4kRNmNlo0oxagDlT0 PZBLeaU7jSUhKXyjHQrul6iLTrKR9HDgBEkLuROrOoPxSA2QAaoVDZ+312VPmgKQh3xv 1rUxEjTvNAzYE+dfGYJc1k2HqzsZARunO2cZBIKNnjLsWYOjhyE1G7NLtkIa2nrM9U38 eMJHnI6iTMfcr0/JWynJYbxkouNI919+2vcmBycgJeKfwjF7Z4UUwC/Tck7xGwePWcvv ESTp2PWCmP4mxExmRIDoouMyJCS7FLeH9xU4Gv5nSfbME2UpKwdpTx1rk9bE9qUit44A C93A== X-Gm-Message-State: AOAM5329W0tOUHsZ0nK+/FoejkcwDFQjmqH9EmforYoAGIhHRIbUkVhE GqXYU53itvYvH2F5WQvIK7Mn/oSP X-Google-Smtp-Source: ABdhPJwaIPiINsbGL2+s2f8jlFGRKG9J164jje1v/KabgAmOKJcGPb4UfSX9Vbk3C/KAJo4y7xEuLg== X-Received: by 2002:adf:82a5:: with SMTP id 34mr22028555wrc.266.1595881989580; Mon, 27 Jul 2020 13:33:09 -0700 (PDT) Received: from scaer.home ([2a01:cb19:8b51:cb00:d4f:d67b:e735:cdab]) by smtp.gmail.com with ESMTPSA id j11sm13888159wrq.69.2020.07.27.13.33.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 13:33:09 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 22:33:00 +0200 Message-Id: <38bcaecb671e2bb943336715c1fd92c8cb3cff23.1595881971.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 9/9 v2] package/luaposix: select bit32 based on lua ABI version 5.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hilliard , "Yann E . MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: James Hilliard Since the bit32 module is needed by all lua ABI 5.1 providers we can select based on the lua ABI version instead of both lua 5.1 and luajit. Signed-off-by: James Hilliard Signed-off-by: Yann E. MORIN --- package/luaposix/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/luaposix/Config.in b/package/luaposix/Config.in index cedb3a6654..85943f9915 100644 --- a/package/luaposix/Config.in +++ b/package/luaposix/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_LUAPOSIX # "bit32" is included in Lua 5.2+. luajit has an equivalent # "bit" module, but since it has a different name, luaposix # doesn't find it. - select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT # runtime + select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # runtime help This is a POSIX binding for LuaJIT, Lua 5.1 through 5.4; like most libraries it simply binds to C APIs on the