| Message ID | 20260216013511.4079770-15-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205770; bh=MdFPPEB8osSvNZeKBgJytl5wJEyuU0LK+Rt5RqjsTwM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=tuq8D+6d2oeSVSIT445tIOcKVWFmOPOcPEbCgYxz6gjJdQgiYYaJzwvr5dFqIBRJi LgS5rFwOWfCNi7MQW86MTcw5xHkPzLkzROqpJlXshp1bRg4xuI6MNF9Vqs+JDIbKk5 3PGpKtfIuTK7L/oqYT86dvIW7z8hkb6+YB//WhHVt3HyE94phcculf2SoMzmEU9RAe 099HSylLmM7NYVZQ2LS8rDFHVDiUxk3BEH73SCGMViaTJMu/KArmvpj5xyhzU1IGyK Mm0T+/BCfO9WexGIJH6Poy88eLIo1AM5xPeDihEnKXmft7jiHxLFfz73DNsGsb4EM9 mpHVTqzoCuuCg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4536A69BDF for <u-boot-concept@u-boot.org>; Sun, 15 Feb 2026 18:36:10 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id L6CsyV-_cyVP for <u-boot-concept@u-boot.org>; Sun, 15 Feb 2026 18:36:10 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205770; bh=MdFPPEB8osSvNZeKBgJytl5wJEyuU0LK+Rt5RqjsTwM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=tuq8D+6d2oeSVSIT445tIOcKVWFmOPOcPEbCgYxz6gjJdQgiYYaJzwvr5dFqIBRJi LgS5rFwOWfCNi7MQW86MTcw5xHkPzLkzROqpJlXshp1bRg4xuI6MNF9Vqs+JDIbKk5 3PGpKtfIuTK7L/oqYT86dvIW7z8hkb6+YB//WhHVt3HyE94phcculf2SoMzmEU9RAe 099HSylLmM7NYVZQ2LS8rDFHVDiUxk3BEH73SCGMViaTJMu/KArmvpj5xyhzU1IGyK Mm0T+/BCfO9WexGIJH6Poy88eLIo1AM5xPeDihEnKXmft7jiHxLFfz73DNsGsb4EM9 mpHVTqzoCuuCg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 33B3369BDB for <u-boot-concept@u-boot.org>; Sun, 15 Feb 2026 18:36:10 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205768; bh=t4x1BQQ5Pg/LINt7cqn0IRUdornoBjj5N5yp/5r4wfI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k5CWy+2nap69+jQWieLfwXQ5dR+etT5RZ5cHyUPdnsUAjFkB5qk7SoqaailqwPF2H a/e7tEHNRp1eWrUCtybxX4ZiF1Y0QfCYyePxd+TPDjiYvlRyJbI3D89dorfpcEEnpv zhJSTYRB7nMsfpjoBzIKLWCsKNXoKtuJ5y0614nUmf2+Ewm0x1CdnIAekkuiejR9Su GZZ7evCn5oTN4WlvWehsNij/6xHuMetzxAHJDCs2opxfR3uDOoA7zaDskKX2/rzIsu wtdnNL6+6r8jjk5Nip63Eacpe5i00ZM/n45Wykl+xKjMqBRDu8KOO0jcSojqmafiaP IxmWa187ogWNA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3AAE969BDB; Sun, 15 Feb 2026 18:36:08 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id IKj1hwiFw39d; Sun, 15 Feb 2026 18:36:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771205763; bh=JhKkVVIbPWvryqKi+eKBSC2SnWEcozTZfjt1QsCYSv0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fG8hN9y81Rs0Nj/GABY++6I4Kjwqf8HMnUqzrdi+8d3eNJuHeFT1CsbAnGOqhKTvH QCrO+rUxXNvQlfPYtezaZac7NA2AogWw4ZxV+FA0smfvY6B4oFzxneDFryH3xzEENT oX4dZShrDRcBMjH2K7u7mL+GE0QvfsvuNB9ZI3RHcSX2vQgS3UXHQ4+zu2XYpN+Euc V4+olRasC6YAE7miARjo8aqcjOai1hp//WgGtpABW9RY4KFUM1HkOyZc/jQ2o10V+U bPyIe39pmc5popSSNNk6/RnVdhXfXk8v/EzGWv0WwLPoLjr/RPIdlRKTXMJUNnQsZO GyBoToLTpTN/w== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 2A37069B01; Sun, 15 Feb 2026 18:36:03 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 15 Feb 2026 18:35:02 -0700 Message-ID: <20260216013511.4079770-15-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260216013511.4079770-1-sjg@u-boot.org> References: <20260216013511.4079770-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: Q3F7XBTL2TJYZXK6E25CGSU3N5RTBGBJ X-Message-ID-Hash: Q3F7XBTL2TJYZXK6E25CGSU3N5RTBGBJ X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com>, "Claude Opus 4 . 6" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 14/17] ulib: riscv: Enable demo EFI binary for efi-riscv_app64 List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/Q3F7XBTL2TJYZXK6E25CGSU3N5RTBGBJ/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
ulib: Add multi-arch demo and EFI app support
|
|
Commit Message
Simon Glass
Feb. 16, 2026, 1:35 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> Enable CONFIG_ULIB and CONFIG_EXAMPLES in efi-riscv_app64_defconfig so that the demo-app.efi binary is built. Skip the prelink-riscv step on EFI builds since the shared-object linking style has no dynamic section for prelink to process. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- arch/riscv/Makefile | 2 +- configs/efi-riscv_app64_defconfig | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index afae33812e4..acfdb9e167f 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -66,6 +66,6 @@ libs-y += arch/riscv/lib/ ifdef CONFIG_EXAMPLES EXAMPLE_ARCH := riscv EXAMPLE_APPEND_DTB := y -EXAMPLE_POST_LINK = @tools/prelink-riscv $@ +EXAMPLE_POST_LINK = $(if $(CONFIG_EFI_APP),,@tools/prelink-riscv $@) include scripts/Makefile.ulib-example endif diff --git a/configs/efi-riscv_app64_defconfig b/configs/efi-riscv_app64_defconfig index f18bfb653ad..d48ecf19585 100644 --- a/configs/efi-riscv_app64_defconfig +++ b/configs/efi-riscv_app64_defconfig @@ -52,4 +52,6 @@ CONFIG_CONSOLE_TRUETYPE=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=5 CONFIG_FAT_WRITE=y +CONFIG_ULIB=y +CONFIG_EXAMPLES=y CONFIG_CMD_DHRYSTONE=y