From patchwork Sat Oct 17 01:13:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aman Karmani X-Patchwork-Id: 1383581 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=tmm1.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=tmm1-net.20150623.gappssmtp.com header.i=@tmm1-net.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=Z9DtFxOc; 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 4CCm6q604Tz9sTm for ; Sat, 17 Oct 2020 12:45:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DB486204D8; Sat, 17 Oct 2020 01:45:00 +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 k5Kzb4BgZVeE; Sat, 17 Oct 2020 01:44:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 99D05203D8; Sat, 17 Oct 2020 01:44:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A9A2A1BF831 for ; Sat, 17 Oct 2020 01:44:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A653C8857F for ; Sat, 17 Oct 2020 01:44:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ocbEPhfCTu3 for ; Sat, 17 Oct 2020 01:44:56 +0000 (UTC) X-Greylist: delayed 00:23:26 by SQLgrey-1.7.6 Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id DBC9D88564 for ; Sat, 17 Oct 2020 01:44:55 +0000 (UTC) Received: by mail-oi1-f196.google.com with SMTP id q136so4620687oic.8 for ; Fri, 16 Oct 2020 18:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmm1-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UPxNrOVXyu/ZfURzcas3qd2clky+E6SD6vzW9gj/1Bo=; b=Z9DtFxOcBuJn6TFzHqFEHk/zhtwK6/4/fg3dLYaxgRehb/5pfuYAXu6pMZlGlDam8E QysLiZaktK3Q6gLtbzozmX2zSpfHfxHUnU4E9D/rvDSjFLtzIpa332sHemK7hZi9aVmJ 8DnsSo+CytWov5Uy3zcX93uicbKm4x6BgDeZ5DxMo/x3uKNfW0RIrm0O4/auPVDmhnih xhfMY4RKHum8LmTMyo4ptHC0JX02BoBf89/VwFAHzSgb5qU8TLDeIogT7cAky7JDjZbw qv3SljjgLnZztykal2VANDqC1zCG+m2/NIfSKu6IuSSknNJ+c4xV/VJ9emdkhOezfqv9 RIpA== 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=UPxNrOVXyu/ZfURzcas3qd2clky+E6SD6vzW9gj/1Bo=; b=SOtB5yqvdG3u2aAgUwepQVNk8Wzca7FT+FP4TCXRFgxeMhEujNzuYcrCbxI7wwghWV YAkElGIlRIiJbTakr+mL0pSTVvVzF7VNSzd20oPnJGUe2+SVE9gK1sJzdyHtzxQ4z2Hv tH5lsSQqTeT1sXaqTTgR87NL9+LxpUdyGXLGoJO+qtFrRHPlAg/zDANe07rs1PnPhQIF LDg/kdKYLQtttQpBxLgktE11iJ0b7DDKtTrnblgFUv7AglYx1CrPD6Xj0Vthv/pYvBHF SWDJfnqLerdMq3AWI4sPcaa0P9JIKTPsPxBup4RART6IQBjp7JQ3uuwpY4EeLJYod48g 1JyQ== X-Gm-Message-State: AOAM532Si2HEXlADfgHis1Ze9Oi4uQAwXF5jz0ZrYAeQOEX5narGkmaw lQFvSpzOcYk57ELKT5uIcoD9VIq/uZcMLrjK X-Google-Smtp-Source: ABdhPJwCEn3b1lYTFwlCt6KrYt5INSPbBfPKj07jObVhxOGL/eWoj3yj7g63N1NA9CmLYt6Gz69JbQ== X-Received: by 2002:a17:90a:1bc3:: with SMTP id r3mr6888214pjr.196.1602897239888; Fri, 16 Oct 2020 18:13:59 -0700 (PDT) Received: from tmm1-imac.lan (ip72-194-222-34.sb.sd.cox.net. [72.194.222.34]) by smtp.gmail.com with ESMTPSA id 17sm4037036pjd.2.2020.10.16.18.13.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Oct 2020 18:13:59 -0700 (PDT) From: Aman Karmani To: buildroot@buildroot.org Date: Fri, 16 Oct 2020 18:13:56 -0700 Message-Id: <20201017011356.50029-1-aman@tmm1.net> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/rpi-userland: build on arm64 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: Aman Karmani Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Parts of the userland (such as `vcgencmd`) are now usable on aarch64 Signed-off-by: Aman Karmani --- package/rpi-userland/Config.in | 4 ++-- package/rpi-userland/rpi-userland.mk | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in index 342faf26e3..81f3588822 100644 --- a/package/rpi-userland/Config.in +++ b/package/rpi-userland/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_RPI_USERLAND bool "rpi-userland" - depends on BR2_arm + depends on BR2_arm || BR2_aarch64 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS @@ -40,6 +40,6 @@ config BR2_PACKAGE_RPI_USERLAND_HELLO endif comment "rpi-userland needs a toolchain w/ C++, threads, dynamic library" - depends on BR2_arm + depends on BR2_arm || BR2_aarch64 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ BR2_STATIC_LIBS diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk index 4cfd5cb832..97270f2eb4 100644 --- a/package/rpi-userland/rpi-userland.mk +++ b/package/rpi-userland/rpi-userland.mk @@ -13,6 +13,12 @@ RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg +ifeq ($(BR2_aarch64),y) + +RPI_USERLAND_CONF_OPTS += -DARM64=ON + +endif + ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y) RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON