Message ID | 20250905212330.354827-3-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=1757107426; bh=M8a7iPAag5DVrCaR7IxNT2psUEqakVye99Rf1+Hz0T0=; 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=joWMUuQVL0UyY8DyfuHXi8vBGX4COPITsxL86yJ5uNmt5jcadlcakLkW9kPIVKYCp CYCAn0mTvytGsbd8qkUA3bzgf4cecSAznxwJSFlwKCOJjtA6ZNATKxJH8YfCwqbehK u1cUFQWYw45CW2/Pzm1JJpAZeNgVNlqeGGGd7v8tU2sYAeM/C/3b5SboddJS+NWS2P asCig7bcgrgUSOwz4n7s5tvZI1tu8nJjgKY4CDAyFezANK11EAOO54Mh1EAh5HnHzt uQfkIWQZcUCk2EiJdFFMIZBH6nETTdF9vKzhrGV+N65T4Myaf4J0XKf6ktUWU4MpGa 5kPZ0l+4aMyOg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 64BCA678E7 for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 15:23:46 -0600 (MDT) 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 iKGTuN5vy3cV for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 15:23:46 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757107426; bh=M8a7iPAag5DVrCaR7IxNT2psUEqakVye99Rf1+Hz0T0=; 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=joWMUuQVL0UyY8DyfuHXi8vBGX4COPITsxL86yJ5uNmt5jcadlcakLkW9kPIVKYCp CYCAn0mTvytGsbd8qkUA3bzgf4cecSAznxwJSFlwKCOJjtA6ZNATKxJH8YfCwqbehK u1cUFQWYw45CW2/Pzm1JJpAZeNgVNlqeGGGd7v8tU2sYAeM/C/3b5SboddJS+NWS2P asCig7bcgrgUSOwz4n7s5tvZI1tu8nJjgKY4CDAyFezANK11EAOO54Mh1EAh5HnHzt uQfkIWQZcUCk2EiJdFFMIZBH6nETTdF9vKzhrGV+N65T4Myaf4J0XKf6ktUWU4MpGa 5kPZ0l+4aMyOg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 50D7C6799C for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 15:23:46 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757107423; bh=xGDuYlueNL/gVdOjB6buktTw/T063HHOcVAxDY2/jHY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FjSvP31gTKnKq/wqbtDOcEegnVHe+KO5lZUQyGTzWg5IJ+C9DhsG1t8c4gIFHjW9q NPI+fEDXLMi89x0SH4ZHUgvn3JcN+w6rrPPFywOFy5KJSJHgSEFPzxJI22zdAvHDnV +LHlM+dk5uTkcD4jeHG7mfX3H6sT44G3bmVcwjzqOoceAdl9m6nNl2fPNAfcKVYDc+ rRKXkI0KjoYgtgKsJoSpPIHSL73x7MVMU7mgiZV0JAX2NA+PFFiaUU4OBjs/PP5UMJ TPdx0XHnS8otZednqrhOWG7ALd5SEdCUyu6loNQgvQgnh235V+jMqD5+DzVWKR7a+Q sorVzInkM/VkQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id E0437679BF; Fri, 5 Sep 2025 15:23:43 -0600 (MDT) 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 2cqMw00yIMtH; Fri, 5 Sep 2025 15:23:43 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757107422; bh=xOgruEZZvOAveiG2x6nVXZpX09fM1fr4SHYv0KdLuOQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CDb3bLTkZfi5KXlmlPySUIw2VgI8irdCvA1l55Vmokf9GKfLgvgrBp7+bGdmVOTDd UT9htwlwUC9qSx+elxI2LNpdh2s7XYGhhe8/gO9m0MX7gj8XjqDP/BpDisouG06Hfv GjAcf0ruXhB+4Khd3X+vnfHNP0K5stEG6p6qq065nky8h688NqcxX9cdbHNn7K8nPQ /cbkj/bBXJtHeCjEyAr5vLOjBGLtFhbYpRV+eJL6Regmv0HH8MfwP0InmjVGrgBrWh GHTqRa+7FnqaOi1iey+px6Wh2XXMmWuhShIPS9owlSE4SMpcmI1hD2/2A76df5DgaY Xp/PZaBvJhXuw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id C419D6799C; Fri, 5 Sep 2025 15:23:41 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 5 Sep 2025 15:23:15 -0600 Message-ID: <20250905212330.354827-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250905212330.354827-1-sjg@u-boot.org> References: <20250905212330.354827-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 4LZGE6GH2EJJPLUWU5SPTBARGHHEXSGR X-Message-ID-Hash: 4LZGE6GH2EJJPLUWU5SPTBARGHHEXSGR 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 <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 02/10] sandbox: Make use of PLATFORM_LIBS for ulib_test 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/4LZGE6GH2EJJPLUWU5SPTBARGHHEXSGR/> 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: Provide examples for building outside the tree
|
|
Commit Message
Simon Glass
Sept. 5, 2025, 9:23 p.m. UTC
From: Simon Glass <sjg@chromium.org> Rather than specifying the sandbox-specific arguments in the main Makefile, make use of PLATFORM_LIBS which has (more than) what we need. Signed-off-by: Simon Glass <sjg@chromium.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile index e3b95290384..2e2f276eee6 100644 --- a/Makefile +++ b/Makefile @@ -1905,7 +1905,7 @@ quiet_cmd_ulib_test_static = HOSTCC $@ -I$(srctree)/arch/sandbox/include -o $@ $< \ -Wl,-T,$(LIB_STATIC_LDS) \ -Wl,--whole-archive $(obj)/libu-boot.a -Wl,--no-whole-archive \ - -lpthread -ldl -lSDL2 -lrt -Wl,-z,noexecstack + -ldl $(PLATFORM_LIBS) -Wl,-z,noexecstack test/ulib/ulib_test_static: test/ulib/ulib_test.o libu-boot.a \ $(LIB_STATIC_LDS) FORCE