From patchwork Sat Aug 20 17:35:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nuno_Gon=C3=A7alves?= X-Patchwork-Id: 1668449 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4M95Q42CsYz1yYg for ; Sun, 21 Aug 2022 03:36:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3713A4049C; Sat, 20 Aug 2022 17:36:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 3713A4049C X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yw207UgYUPOZ; Sat, 20 Aug 2022 17:36:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 5408B402F3; Sat, 20 Aug 2022 17:36:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 5408B402F3 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 592961BF2B7 for ; Sat, 20 Aug 2022 17:36:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 32AF241697 for ; Sat, 20 Aug 2022 17:36:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 32AF241697 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNQb6eLUui0U for ; Sat, 20 Aug 2022 17:36:03 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 31829416ED Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) by smtp4.osuosl.org (Postfix) with ESMTPS id 31829416ED for ; Sat, 20 Aug 2022 17:36:03 +0000 (UTC) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-11c5505dba2so8462808fac.13 for ; Sat, 20 Aug 2022 10:36:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc; bh=NM8hXqKHcSjy6cXTxk33B37I9i7SJRG88nP1Sg3q6Tw=; b=8DZ5vonV+o4JWHNlmIVxJtZKHousnR1f4IZozWsXW96ySlz//bYz7SVH7yv2s4IcE8 LlkbbjXDfRDXe/hijQXtPiugmgixVfri0I9iNdFRY4OE5sLYQp/CSOsG+RrUY4subRfI tIRvB8YwT+XymnOhBhhKcjTr06WzxiUC6YTSCIbrUyRJgrKrEb6rT1kWHJP9OzTZdeoz G9N6gZiiI9edr16zuz0HvW5b7s8oyLVNQgIz0iK4trPcS+tDJAOdo+D3rb6B5IO9SdpW +eHTVoc1dTuPwLq2oaaZBOlyE45r/CZrrF/vuchURsYFis8Elw+CXW8vR/+km5+YU30g 27/w== X-Gm-Message-State: ACgBeo01tkefEXKTmzvnhprY8+cSiJ+DW+pyhRsQaveuHNwHmrR5PeU4 +0yxx9Aexgeqa037i4cA8K7JdUGafHV53i3PvIaGsLjx08U= X-Google-Smtp-Source: AA6agR5Hgs3WMsRRQVsi2/uEz8rqGiBUkldUbA+0XbIQf4JzJfIYtg6WXFr3QkupM0fU9Mz/rfODYzayW34c3cOPoRg= X-Received: by 2002:a05:6870:4799:b0:f1:46f8:6ea4 with SMTP id c25-20020a056870479900b000f146f86ea4mr6385847oaq.223.1661016961941; Sat, 20 Aug 2022 10:36:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?utf-8?q?Nuno_Gon=C3=A7alves?= Date: Sat, 20 Aug 2022 18:35:50 +0100 Message-ID: To: buildroot@buildroot.org X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc; bh=NM8hXqKHcSjy6cXTxk33B37I9i7SJRG88nP1Sg3q6Tw=; b=b3fLs+VxSvucaNz5fRVhCYhYqMMrtuFcoU+Ed4LURLHfYf18VX5EvhLwtmE/lJZmuq nJV9uj50uvJo8GP6c39mE237Bp+lj0IFIo7mPl/VoVL9aiWI3mXOMIDOvLYuEv7C2M9n bNi8UlW8bCyXA4HjsraXSa4J6+pKqD7zk8lOGamx+UmGjsAexosvQcyRMPjABrG0d3zb PyxmtZ+QzqgkqF3saMKAGSIeVcvwMn+9APZ33zp96tPCLMzXPgpwig5g6v9cK3TIU49Y Sg+ZXIot262xX1fmYaBPLOL+7G6i2LftWRa41dwYHI30iXySyZDv9rc0XAbzlmenjWgn TLow== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=b3fLs+Vx Subject: [Buildroot] [PATCH] package/rpi-userland: support ARM64 build X-BeenThere: buildroot@buildroot.org 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: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Nuno Gonçalves --- package/rpi-userland/Config.in | 2 +- package/rpi-userland/rpi-userland.mk | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.37.2 diff --git a/package/rpi-userland/Config.in b/package/rpi-userland/Config.in index 342faf26e3..809ec6a6a2 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 diff --git a/package/rpi-userland/rpi-userland.mk b/package/rpi-userland/rpi-userland.mk index 1204196e19..4ea51fa7f5 100644 --- a/package/rpi-userland/rpi-userland.mk +++ b/package/rpi-userland/rpi-userland.mk @@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) RPI_USERLAND_DEPENDENCIES += libexecinfo endif +ifeq ($(BR2_aarch64),y) +RPI_USERLAND_CONF_OPTS += -DARM64=1 +endif + ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y) RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON