Message ID | 20250905170132.182249-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=1757091757; bh=p+Nm7qs2Je5mUBQP3MlroTwjooD3gwNlJAUTjDS6Wsc=; 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=krN0RolzxR6dmgsmb8V+iYqIOR0kcq8zPVEpM5DXZpnTCf/IIFDEFx7G6JKaaTqXQ qhoEbZzSIoeEX4G2QQtmtGBCyV8m84R8LYeH0DxPtravtFU8BQoPauwyH60uEXOGb1 fk0qoEKB8BEqyATkQJ4fu0fd/CPgVPD/4oIo53pPGu+ZFYQslc3NfhQRVslFGFNOS7 e+AxuWKVeefcebFFdMvN3hYUfWtNg9Zt7Utkp7n3pPK1t/omSzpKxJKOxaqbzh4A/g gZliRnDyiivM+tX8Zz6v+X2pKQWyHK9vwgNOsYeOkwXcqMGJvV9C3BMzQseMDMfzKt Pc8aduhp+3nuQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3B899679BC for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 11:02:37 -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 EMhzWUf3cAQ9 for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 11:02:37 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757091756; bh=p+Nm7qs2Je5mUBQP3MlroTwjooD3gwNlJAUTjDS6Wsc=; 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=atJMsuUQO15Milk2ZTwmXIMtkAH0X7u0YngKDXr/fK2Nc5+YuXz55w+seRNUFAgDG IeajYQe5fTlVkjXz73OA4QnsGhtVEIvLhWQK0q6YNxwxUvglJXckj3b79NTMie4DuD 8D7CLAipgqN+T1mleh4BFCvqqf0T+pKfsRkA5GqsqOf57Rb+qPVALpxQknLbBKNwf1 NtTRN4BRvhxIC3GR3Na6LXF1yWZ7cTazXmgx2jt3MXhThPnz70ODZ40yojXFRUiWqB 0VccPuRiXhYV/TvcDbxWFwEZE8cW23G7/4uGzaofGhmoNxymiLuEQQIrUhxyfsydv1 /S1yo579b54HQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 38EFB679B5 for <u-boot-concept@u-boot.org>; Fri, 5 Sep 2025 11:02:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757091754; bh=aBvewCgAcDn00tkQ+AyXAG+5luaGL4ksNXvmxMWUQTk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hvyGeZSfZsH/HtcivDxtkHgcZOwFdVTpujL430uHNgB9DaDxvgvTUDmP/R/g+8LlA 1zPdKmpTFWrs25OFW1QKRvTfijnxlXFazjZvm+9PqWG3kM7eKmT4+MDhESFIC6lN4W no0OozNeTtPIE17bcoWg8FnCTpr06KiX+GiAvVgTH5e0XG+yT8dYtrcifnKdZCbOWg Z133RBjSoh4fS2zQz9m3DBWHiqugSdNCsI8fiUxJrVjrk2L099EHelR+zMTkFf68Pv lOHqkv9O75UfxYPfhvQ06C2fXbO47d5Yk9C2cw/kuM0zKt/vuYaiFYSuSxt/jciXkJ ni0z7ilYS7L6g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5357E678AA; Fri, 5 Sep 2025 11:02:34 -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 mqN07-zSLz0N; Fri, 5 Sep 2025 11:02:34 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757091752; bh=vvY36BWcOJSul2GzG68GpUWwkVPlKhROpLIO7G6tfBo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u3yTbeof2yD8YtUzbJMTu7QnR+Agh9s8cNyDgpCiv5rZhpTTvNnlqCd2fSEcLtJ9C uveJsjjJkyHcRUN8GXz2XO5T1IyjSetybYXSaZrXLoc+h/HuL395QoHmFktxzmNI0d Kre6lRVPsiBjMhSi63LP95wBuZXDzxL9z+3cr3auKqnNrB5flab85laHORpGp8bsdx j6v0GKCwLLWq3dElzwb1v4K5FUauOabIIwUGKFKnjLFRDoTBPGQvURMOIgd0Umk6he pfTn0G74C04poWkagCm/hDib5+qCSQpeRoe3j+h0J4oWOkeRTf2va2wfFf1IUoDCph ce66ylF/1P52A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 5CEBB679A6; Fri, 5 Sep 2025 11:02:32 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 5 Sep 2025 11:01:25 -0600 Message-ID: <20250905170132.182249-15-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250905170132.182249-1-sjg@u-boot.org> References: <20250905170132.182249-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 73N4RTJ4SAKNDJACV67NF3CV3Y4NEVCS X-Message-ID-Hash: 73N4RTJ4SAKNDJACV67NF3CV3Y4NEVCS 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 14/15] ulib: Allow building of the libraries to be disabled 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/73N4RTJ4SAKNDJACV67NF3CV3Y4NEVCS/> 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 test programs and documentation
|
|
Commit Message
Simon Glass
Sept. 5, 2025, 5:01 p.m. UTC
From: Simon Glass <sjg@chromium.org> Provide a NO_LIB option which disables building the libraries. This saves a little time. Signed-off-by: Simon Glass <sjg@chromium.org> --- Makefile | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile index 3ece9a02b6c..2c4685d161c 100644 --- a/Makefile +++ b/Makefile @@ -1045,10 +1045,12 @@ INPUTS-$(CONFIG_X86) += u-boot-x86-start16.bin u-boot-x86-reset16.bin \ ifdef CONFIG_CMDLINE ifneq ($(cc-name),clang) +ifeq ($(NO_LIBS),) INPUTS-$(CONFIG_ULIB) += libu-boot.so test/ulib/ulib_test INPUTS-$(CONFIG_ULIB) += libu-boot.a test/ulib/ulib_test_static endif endif +endif LDFLAGS_u-boot += $(LDFLAGS_FINAL)