From patchwork Mon Nov 13 18:06:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 118818 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2091336qgn; Mon, 13 Nov 2017 10:06:53 -0800 (PST) X-Google-Smtp-Source: AGs4zMZFC8J2DhCPesrUBG/8YmKObIsmZD3HbfIjnUOrS76O3OhijwBZUcjQJd8nyswA2rP2lCyZ X-Received: by 10.159.253.5 with SMTP id p5mr9660368pls.372.1510596413823; Mon, 13 Nov 2017 10:06:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510596413; cv=none; d=google.com; s=arc-20160816; b=X66RpG01smltBkmr0rMkzV3BUY3aOsDuvVYcoTkxblWgtbBsX4fll5FOwUZveV1j8K 266z9cXltvfKp/ZSU4O8yF0iUYCJclJ7uH4S2r/E6n7lVMPXUyfdZdv0Y5MtzkeJzzJh jny2mrL1CeyIoiujvy76uyOONEiOtEbQoG3803+HyLITxircx29MRZRu9AG8RPVN0Hv3 JsI7mUHAfJkr6tYPfYOR5DOFs8ZHsCZ4F2F4YAbkRDhwhfCTkDZjXS1dxdjemks0QLU0 OHi+Hdaffiqxt5N1OC4u2+hWm66T+fY/w1m3u9k403xcSAb/JEsJ/U7HmCeLKrH24FGI Pmrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=fpn+TRszJk3wvW/q1Rl89MkycYKCUofaAVqMdlzDez4=; b=l54OWgfdXUg6WX3yWEIjL5T7OXhN8xnqAgB3bUZZD3oZnUHimBuDRM4pHcFsDFxzu8 KBZ8wWxW5lRF8TQMDL0b8SKBeWUR92FabexaIkd9YlaP2/nSxX4EfGb/El9H1D0ECnS1 COoQWJ8e5CghZoEV6w+Q5e818F70UyZdVnte43B/ylRDMkLB/62Ba+0b/inaQn4Tn6v8 a05yhAV6WdUv0OESZ/IAH/ac/GaRRuxcPPJzBda7aGVLan6Th+t2F8AWKZVv9eqpIWxx ptQtfkCDDFPBR2byTX7xSawAUpnNZ4diaIrUGh5z5zS9KPkrtczGF01V8nYvvVvdrOJk NmCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FfEjjL4/; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v14si930030plo.86.2017.11.13.10.06.53; Mon, 13 Nov 2017 10:06:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FfEjjL4/; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D9F5178695; Mon, 13 Nov 2017 18:06:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-ot0-f195.google.com (mail-ot0-f195.google.com [74.125.82.195]) by mail.openembedded.org (Postfix) with ESMTP id 8922278684 for ; Mon, 13 Nov 2017 18:06:48 +0000 (UTC) Received: by mail-ot0-f195.google.com with SMTP id s12so8037939otc.0 for ; Mon, 13 Nov 2017 10:06:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9V9ObFWikt/461c87Rfz5SeszmN6czq3QrHG6jWu73o=; b=FfEjjL4/KZ4z1ICo9CWYf6jobASxDHDH3k4CpEEhBxgXQKrt7MsrpvxLry9kAvbr7u yTQnsWTvmBZHerIKsKiwrxxL5rBuvG1IaX09IprIQVzlew+n84DFnfaNYZAa8AmLvEqL WvNtigQ3nNYGWSmEYICFv+KFZG3M12rjV6cJg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9V9ObFWikt/461c87Rfz5SeszmN6czq3QrHG6jWu73o=; b=luLqsE8kUu2DAxpz2N+8LSZzezhKMgbD/1BIsq1FJW5tQPnMvZZ6F2OEDy+blJSvaO voJ9D6wPRYLej/UTzwXBNP4A/CIc6SbO7Qlra9/taYUhPGK9PYE5rdGfq7gegfO1j/Lw k5swDL6tsHbtUr0+fWg1PpYpK5MjJAGq9qvFT7/ZUD6HGM1l8t7LDAzUdBBBghdxtqyc laqEgOGmhKxonznMhEt/i/ZqY4+DC2A8UFLurArRAe0IQx25+GA4Y92l9TSQA6sqj4UW m2SMMDViBv7lJrq8wfncUZ6dqYwtLm8QPZU2rQ5C3mdx4r0zYPEtiSAoknbb2khRLz61 TBSg== X-Gm-Message-State: AJaThX4RfilsgiPNMv+XwnxSIalVjm9dHd9y5A4xACPTr3X25UQU/lfC hUy05nyQBGOYBQ2cjqO2KZvje8gjcXE= X-Received: by 10.157.36.103 with SMTP id p94mr6359441ota.172.1510596408968; Mon, 13 Nov 2017 10:06:48 -0800 (PST) Received: from aura.cortijodelrio.net (CableLink65-176.telefonia.InterCable.net. [201.172.65.176]) by smtp.googlemail.com with ESMTPSA id q51sm1504974otb.71.2017.11.13.10.06.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Nov 2017 10:06:47 -0800 (PST) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: openembedded-core@lists.openembedded.org Date: Mon, 13 Nov 2017 12:06:25 -0600 Message-Id: <1510596387-27934-1-git-send-email-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/3] cross-canadian: update GNU name for ILP32 triplet X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org As discussed and agreed in Linaro Connect Budapest 2017 [1], the GNU name for ARM64 with 32-bit ABI has been changed, e.g., from: aarch64_ilp32-linux-gnu to: aarch64-linux-gnu_ilp32 The current code has "ilp32" as an OS variant; this change updates that variant to include the underscore in order to match the agreed convention. More information about ARM64 ILP32 can be found here: * https://wiki.debian.org/Arm64ilp32Port * https://wiki.linaro.org/Platform/arm64-ilp32 [1] https://lists.linaro.org/pipermail/cross-distro/2017-March/000864.html Signed-off-by: Daniel Díaz --- meta/classes/cross-canadian.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 1928455..cce09c9 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -38,7 +38,7 @@ python () { extralibcs = [""] if "musl" in d.getVar("BASECANADIANEXTRAOS"): extralibcs.append("musl") - for variant in ["", "spe", "x32", "eabi", "n32", "ilp32"]: + for variant in ["", "spe", "x32", "eabi", "n32", "_ilp32"]: for libc in extralibcs: entry = "linux" if variant and libc: From patchwork Mon Nov 13 18:06:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 118819 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2091423qgn; Mon, 13 Nov 2017 10:06:59 -0800 (PST) X-Google-Smtp-Source: AGs4zMYTdj/lReunj1L6/Pulqn/EefYmY57TNO5n+9bWj1FRBfgezcsXyu0JewMj0xjimQu8wWHG X-Received: by 10.84.235.75 with SMTP id g11mr9698852plt.155.1510596419858; Mon, 13 Nov 2017 10:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510596419; cv=none; d=google.com; s=arc-20160816; b=Fq7hDogsbNnZqovNdQrKNX7LHB1E2Jo+KmTXm4hGhwJErPRPWqdV+k7fmBW6R7ACbp kU1uw7CzLN7Pkuuf6Jj/66ElYGcmmDdqbKJe1SJVbJpVvp4ueNn0fuywEGjiKaEurpQ+ FpTSDAh9c39TFHX1ahasWd6Bm3d/f2OC+CUvU3FOtlR8GUwUvWqO5Gx5NAyfFscOhMT+ cn/Ut2U26Y7K3KHRCf2c9NYaGHCP26H6hTt314kxxDbyw2wLp9I7NWSrcX89Xc67k/vh WsFjIdmp2BWODagV7yACmPMmlPiB54L5MUzhOilXVCSCwAcF9/DVt97zxiZofFLKKYjX zBmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=ob2f4KCI7iZpXtP0Bn5k9FdLj/Q9f33DrU+/+WwW0cw=; b=dM+y0bXMJVcYA3tqvwAfzB0aivgSoELgsxDPSQ7BGuiU9fsnIKp4gdRiksnA39YS2u 3Mt+jPpjTG0NkfnxvMFNplrsE+Qpqy+fidW4+xxyEPr3nMGHd86acBXOpWNguKo4duiL lGMPfv09Ab38Qjvaulu+2w2zW6D8QbUqYRH/Pz8hLiIO7lSDI/Auz56pjT5dOKWRDsAn 1rk23al8+JJ2YAlc+qch8yCstFEtN0Wyb1bdNH+15Bam5RZrKdh/8lax9Svx/9dri4Z8 4AmoZlSLG5IWXnrdGdFqu1Rn4yoX3SRAwPtPmORH8AcdrMXXunmoibJ4tVCT4uzgnbvE hk9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Mre4hUyr; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o75si15645493pfk.60.2017.11.13.10.06.59; Mon, 13 Nov 2017 10:06:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Mre4hUyr; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3EBF0786A8; Mon, 13 Nov 2017 18:06:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-ot0-f196.google.com (mail-ot0-f196.google.com [74.125.82.196]) by mail.openembedded.org (Postfix) with ESMTP id C79DD7867F for ; Mon, 13 Nov 2017 18:06:50 +0000 (UTC) Received: by mail-ot0-f196.google.com with SMTP id j29so10961336oth.13 for ; Mon, 13 Nov 2017 10:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=meQQhFYOevgLu0HgCG67oPo9ja0k9PJWQ7z7NwHv3yE=; b=Mre4hUyrCECbulgHRZaMKVo6ibPpMZ026/jAolD5KTUd7x2vHTt+aEtLZ1QV2bQe25 nOuEpqr0HhADwSx2cM1tty98U6i0VzJC7BMHsrN+L5RutPUAVQIo0fR/xyUqOtKBUsOX 3ufk/ZJ/h/7WUji4vH47lCIrmcl9qzVYnuDCQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=meQQhFYOevgLu0HgCG67oPo9ja0k9PJWQ7z7NwHv3yE=; b=VT4a0NLoXKQpr39u/J9jO+V81Oleu3TJvJ6e8UNS82YYL9IdEjl3CfagCSv+U+Ffj7 XKs2q8a87BRpTj4ibhtDLJCywN3odCBRfMf356lLXNHPBcoKF12Q7xLoAoxIkZuPOlyn h5/3uvP5s0BFojezC7h4m1SURxF+ioIXDuJCGKGaAOmlacoHbVgYzflddAxboYucsZc1 iMHKCQ9nvi90TInhPkl8e0O+lbEUpXIYxirUNbPUMG0dZow/xuy/YNYna5ROkyqXg2t/ KoOnn2ZVV2WGVJ3YjVV0TB2Zv9BU/limSovTVL1pJbG3obgTeq6jNfOTso1Z2NfzmX6U M7IQ== X-Gm-Message-State: AJaThX7rQ338X19+LHEaC3z6v3hJd6YtoUovYH5h1ucNPSEt7dw2GwEL AG9PnLtADRKLcd/DvlNViyW9DIy8xVw= X-Received: by 10.157.85.221 with SMTP id z29mr5943481oti.14.1510596411389; Mon, 13 Nov 2017 10:06:51 -0800 (PST) Received: from aura.cortijodelrio.net (CableLink65-176.telefonia.InterCable.net. [201.172.65.176]) by smtp.googlemail.com with ESMTPSA id q51sm1504974otb.71.2017.11.13.10.06.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Nov 2017 10:06:50 -0800 (PST) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: openembedded-core@lists.openembedded.org Date: Mon, 13 Nov 2017 12:06:26 -0600 Message-Id: <1510596387-27934-2-git-send-email-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510596387-27934-1-git-send-email-daniel.diaz@linaro.org> References: <1510596387-27934-1-git-send-email-daniel.diaz@linaro.org> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/3] siteinfo: add support for ARM64 ILP32 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org More information about ARM64 ILP32 can be found here: * https://wiki.debian.org/Arm64ilp32Port * https://wiki.linaro.org/Platform/arm64-ilp32 Signed-off-by: Daniel Díaz --- meta/classes/siteinfo.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 29cd2aa..7f7af36 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -60,6 +60,7 @@ def siteinfo_data(d): "darwin9": "common-darwin", "linux": "common-linux common-glibc", "linux-gnu": "common-linux common-glibc", + "linux-gnu_ilp32": "common-linux common-glibc", "linux-gnux32": "common-linux common-glibc", "linux-gnun32": "common-linux common-glibc", "linux-gnueabi": "common-linux common-glibc", @@ -75,6 +76,8 @@ def siteinfo_data(d): targetinfo = { "aarch64-linux-gnu": "aarch64-linux", "aarch64_be-linux-gnu": "aarch64_be-linux", + "aarch64-linux-gnu_ilp32": "bit-32 aarch64_be-linux arm-32", + "aarch64_be-linux-gnu_ilp32": "bit-32 aarch64_be-linux arm-32", "aarch64-linux-musl": "aarch64-linux", "aarch64_be-linux-musl": "aarch64_be-linux", "arm-linux-gnueabi": "arm-linux", From patchwork Mon Nov 13 18:06:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 118820 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2091502qgn; Mon, 13 Nov 2017 10:07:03 -0800 (PST) X-Google-Smtp-Source: AGs4zMZiyfb+eQyms8rwKx4ZvEcHvxNhTv9Ls895MzFC+BqaP9u5/hOxRwVh36O8hDMqun3VTqBN X-Received: by 10.99.111.72 with SMTP id k69mr9402089pgc.21.1510596423780; Mon, 13 Nov 2017 10:07:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510596423; cv=none; d=google.com; s=arc-20160816; b=DJ7FGsZzC0yVv0GfsshF6SfMjuwpYUmRWlJkDqwQs+T0jU3VtRCBxXeZ+vSmD2SRtr sFLomExs/yUy+qC9qLaiE3iTagJQfh0JpQ+HvUIhr5L0b0tMWDTua9zMPuQaIkCuqdIv qduqYXq6+NcQb1xsD2KR8YKLtwCKmucJ54+vCjyheN4rjn/PD6kzOfNL1cj1QoD/W9L3 OTaTgVZ3XAx9MofrT7wj2mxLWgd/4h47N3NFTRwI/q/JeC9IRis1mpQW3YLxZk+j6Sjm V0EQ+M3CFhGy2IJtEMT1t0KGJLWDfkNwA+7DK3SGLMYaLrREvsqWOjssJn5rXWAEUFDp zv7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=6ETninVtI/Y9ujpPGIQCSA2V6qTpHVHEouh2h4HWzg8=; b=Uo4usd73h3oK2TUoyoh5wbU8vMBdNId531979+aGgkgj6qsCc2plLRTM7WmyiW3iAo guQ7ieqezX68tOJhtX1o+2dg8a+xr9EvhC7/NdaOpZU7eZ9ZfY1gxCKc+vfET3B0NBv0 rqVyb8ob9LXVlmJA1SHXNYjN+5t/hDO9uTxBM1rmetnwxl0F8+DJyAjjgfWKMSybM7Wd W0LlH2kLhJfFfIRcs1d+O4kZPGvHkAlOy5sp05LAfl9oVdQaKZBWOwUpuBbfDGEDIhau oCAPqD0diB4l4V0JcRq8yN1kumWODt5xOisoSFFv5JSFd5YwxMEmACqWOopWXNBjWziv 8CqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EB/uolLz; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 71si3540016pfk.250.2017.11.13.10.07.03; Mon, 13 Nov 2017 10:07:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EB/uolLz; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4060D786B0; Mon, 13 Nov 2017 18:06:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by mail.openembedded.org (Postfix) with ESMTP id 3740F786A4 for ; Mon, 13 Nov 2017 18:06:52 +0000 (UTC) Received: by mail-oi0-f65.google.com with SMTP id d65so2436745oig.0 for ; Mon, 13 Nov 2017 10:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1EJP5GwLZc5r569vFYpldSLfuqNiP8mJzIO2v85D8EA=; b=EB/uolLzhn8dc0pXSgbJQUy7HpoVvxCxFfHpfDTmpOIGqGaFebKLYBajU5eF9y77Qx q2KYXFeljsTowLfnNAKt3yEX7zRsKICgudpsKDfqJuW/nDQbDxQ8ABW76g7+KypWEWji /CAt2yMSY3nus2RunpK5emis0mH8+WjvHy5JE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1EJP5GwLZc5r569vFYpldSLfuqNiP8mJzIO2v85D8EA=; b=m6DcMhrhSERLaQBp96MdMQcD0uESbJI2tMykqCR0kk8QotSEQU9wlEDOGYEi7LzjOi xYPBfarEXr1N9zc0Pwsm1usPwO6bJHonxKDRXflJwRbbFtJwZGtlEM8KepanE24RkjJU 4UE7tu9i9Z7uUXr2ojHlP7c76dQM1YrN6wZuDZExQ0RcjoPFTmxN4RZrHmbti1WxuesA wkNxvINOMiiWYe59LrGwOYuPyEHY+6Ud65IHfxEvUUQ9X5f8Af3CEmfz3so4a/sPFeKC FuGfeMXUaBrW8c6yeWA+MXSP/BEUj0wY059VQIkX1viMeF7bZ7hpag1SKnCZesvRzYPH WjWg== X-Gm-Message-State: AJaThX6ZMlCM4nl4hIYCa3lZC2NGCDz86I1BMhqxsgnbl7N8sJ3mP7/V M7IPlXAFI2lhJ6d+sbqpaJRXRl8hEwo= X-Received: by 10.202.175.205 with SMTP id y196mr3583758oie.363.1510596413868; Mon, 13 Nov 2017 10:06:53 -0800 (PST) Received: from aura.cortijodelrio.net (CableLink65-176.telefonia.InterCable.net. [201.172.65.176]) by smtp.googlemail.com with ESMTPSA id q51sm1504974otb.71.2017.11.13.10.06.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Nov 2017 10:06:52 -0800 (PST) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: openembedded-core@lists.openembedded.org Date: Mon, 13 Nov 2017 12:06:27 -0600 Message-Id: <1510596387-27934-3-git-send-email-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510596387-27934-1-git-send-email-daniel.diaz@linaro.org> References: <1510596387-27934-1-git-send-email-daniel.diaz@linaro.org> MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/3] insane: add support for ARM64 ILP32 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Add aarch64 32-bits (ILP32) ELF header into dictionary and check binaries for 32-bitness. Signed-off-by: Daniel Díaz --- meta/classes/insane.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index def9c70..fc9395c 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -146,6 +146,9 @@ def package_qa_get_machine_dict(d): "powerpc": (20, 0, 0, False, 32), "sh4": (42, 0, 0, True, 32), }, + "linux-gnu_ilp32" : { + "aarch64" : (183, 0, 0, True, 32), + }, "linux-gnux32" : { "x86_64": (62, 0, 0, True, 32), }, @@ -426,7 +429,7 @@ def package_qa_check_arch(path,name,d, elf, messages): # Check the architecture and endiannes of the binary is_32 = (("virtual/kernel" in provides) or bb.data.inherits_class("module", d)) and \ - (target_os == "linux-gnux32" or target_os == "linux-muslx32" or re.match('mips64.*32', d.getVar('DEFAULTTUNE'))) + (target_os == "linux-gnux32" or target_os == "linux-muslx32" or target_os == "linux-gnu_ilp32" or re.match('mips64.*32', d.getVar('DEFAULTTUNE'))) if not ((machine == elf.machine()) or is_32): package_qa_add_message(messages, "arch", "Architecture did not match (%s, expected %s) on %s" % \ (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine), package_qa_clean_path(path,d)))