From patchwork Tue Mar 17 15:32:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 451029 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 514721401AC for ; Wed, 18 Mar 2015 02:33:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=JcT41hwc; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 99D4491AE2; Tue, 17 Mar 2015 15:33:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-nTC1Jr1NBZ; Tue, 17 Mar 2015 15:33:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 37E6191A78; Tue, 17 Mar 2015 15:33:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3D23B1C20D8 for ; Tue, 17 Mar 2015 15:33:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3995091AD5 for ; Tue, 17 Mar 2015 15:33:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FBJY9CyR+WcW for ; Tue, 17 Mar 2015 15:33:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7A4A391A75 for ; Tue, 17 Mar 2015 15:33:09 +0000 (UTC) Received: by wibg7 with SMTP id g7so48794420wib.1 for ; Tue, 17 Mar 2015 08:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ysLFbFjuhgkltM+i+pE4+IE0tDFVDBQ4Q1hEO94ium8=; b=JcT41hwc9egYXfNMyx1CT61Q3jTOIt1PFXGk+w4AdMypTk1dD23E3J2rpuHhpYP/Q3 X/rZyp8ZcTmJ7DAoUtRAJGLY9MxYiNqSaMjMnX+HamPbQeHCql9C1sj7fsQhSMbx6DIp 0/YBo6MX7+gi4tZnJg6hol5GFpKk6plolb1xrRvO4BLKWXTT2EFJIaY/+rQM9kB+IdDo tbQw/ZJ7pW5bs+VLQfKzehk2TAqXrpYULDF08rcj4P52weC0uAxvkusJeAJ6gnWwC5Gd UC3wQAG/IZHeiKD/XaEA4RQVtQgtEgcLfFds4qtaLpoZdkcFBozQsZNu97acu9dch8Hs DOPw== X-Received: by 10.180.198.37 with SMTP id iz5mr127244584wic.95.1426606388224; Tue, 17 Mar 2015 08:33:08 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.100]) by mx.google.com with ESMTPSA id ei3sm3147944wib.4.2015.03.17.08.33.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Mar 2015 08:33:06 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.net Date: Tue, 17 Mar 2015 16:32:52 +0100 Message-Id: <1426606373-11438-2-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426606373-11438-1-git-send-email-angelo.compagnucci@gmail.com> References: <1426606373-11438-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [PATCH 1/2] package/luajit: introducing luajit arch supports. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch introduces BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS for luajit. Signed-off-by: Angelo Compagnucci --- package/luajit/Config.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/luajit/Config.in b/package/luajit/Config.in index c505f6a..d71118b 100644 --- a/package/luajit/Config.in +++ b/package/luajit/Config.in @@ -1,10 +1,18 @@ +config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS + bool + default y if BR2_i386 || \ + (BR2_x86_64 && BR2_HOSTARCH='x86_64') || \ + BR2_powerpc || \ + BR2_arm || \ + BR2_armeb || \ + ((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT) + config BR2_PACKAGE_LUAJIT bool "luajit" select BR2_PACKAGE_HAS_LUAINTERPRETER # Luajit is only available for some target architectures, and # has some complexity wrt 32/64. See luajit.mk for details. - depends on BR2_i386 || (BR2_x86_64 && BR2_HOSTARCH='x86_64') || BR2_powerpc || BR2_arm || BR2_armeb \ - || ((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT) + depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit.mk uses the "-m32" compiler option to build 32bit # binaries, so check if that option is supported. See # luajit.mk for details.