From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 29 Nov 2021 20:49:50 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mrmes-0003mp-MV for lore@lore.pengutronix.de; Mon, 29 Nov 2021 20:49:50 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mrmes-00013G-9Y; Mon, 29 Nov 2021 20:49:50 +0100 Received: from mail-eopbgr20079.outbound.protection.outlook.com ([40.107.2.79] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mrmeH-0000th-7Y for ptxdist@pengutronix.de; Mon, 29 Nov 2021 20:49:13 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YAAQWBTtzs+vXMxjMbqw5JfdKimF09U9LdiBkESgS4OMIrMjLQTF2slic9pRcCVudOC/oPSgie57o1DAR7fz/ap/2GD2o/vnbEte8joPkJ7NpRME8r/6HUokOATWa196fHLMJr5ICaP0quxja1NUnRbrTq+TyVZQ902wiTa2jSvPYE9JCGF63kDlUCbFBQf6w9KFNEC189gJT1jPJY0Fl0ZK+Fg6anE6uSxY1KuhMTPyifpwiy/1WMHF8IWbSWLwNt7LnMRXbSsHHIDV4tWLBePE6ixTsMXdfG4plDmkb3wBpSeAsosY8iBMGPFLNJJ039y94WBRkqT6nDnp1maiOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EVa3IEigQAPpxWpNRk+SinflQC0FV1yqU4LP5eJdHKQ=; b=PmdCMAkdpq9Tfyew0ETHz1UKq/d3MULbd1Ql5xxuDyV3o8X4V9qPd0UrxFxT4U1WJUUPQQwiMznrNxDRZoEECMV9UBu05HldQCb73h0r+ne3ocETls3yg7d0gqqj/j+smtzxGNT2kSTwsUACXyyMX0jq7z3AH3/DVOpz6NRzK4HRfEUvOENI22cXSmVOdIeLVPDd4rhCZif20s+jVxpFRBd6qVqCE4vFFOTty0W9hdDutaRgui5zbLDuvnnSw6u16z9llOFeSOXZSI3WSZcJfzd94W2SQAGEJACfS2Jq+rjXTFeoyj9QLrQOOhMhT+0WuxHNnRLMrf1rta86JxXcuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EVa3IEigQAPpxWpNRk+SinflQC0FV1yqU4LP5eJdHKQ=; b=HZ61FGroqaK8B/NqZcHInZfp8PwjYqSZ5MiPL7LKTXhd846p1WFVqEAG4YFWpybSMHnpFwL0e9v8MA3Ad0fzS6XSZAG7UxrPcI0yPU8sER0Uu+EtFJbnqaq7aYv9UvSre9hoPZKJloFb+Ywap+mtoBJP5CAk3QIfI8oZZj7IXjY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by DB9P251MB0251.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:2ce::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Mon, 29 Nov 2021 19:49:10 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::cc24:927c:bd00:a0cf]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::cc24:927c:bd00:a0cf%7]) with mapi id 15.20.4734.024; Mon, 29 Nov 2021 19:49:10 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Mon, 29 Nov 2021 20:49:03 +0100 Message-Id: <20211129194903.596814-2-christian.melki@t2data.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211129194903.596814-1-christian.melki@t2data.com> References: <20211129194903.596814-1-christian.melki@t2data.com> X-ClientProxiedBy: GV3P280CA0073.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:a::12) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 Received: from plaid.hq.t2data.com (212.247.174.226) by GV3P280CA0073.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.21 via Frontend Transport; Mon, 29 Nov 2021 19:49:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbbdd8c8-fb21-4ffa-ed41-08d9b3714fbd X-MS-TrafficTypeDiagnostic: DB9P251MB0251: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tqdxjPD3+wNuWR0HrNRKPk1v1CuR7I6jlhDxhfuydKPms4RcsjRkOom9hF2kLx3Id8oYDpxJS8HNWINWafbUQndffpHp4dc3cAlY/3I7vt1Dxj8LFJU1z3zT8AM290Zm3xXXdtHq3DwzebAyem3A3QAM+1mf1DwcAg/YOAucdRqAy9sQk7t8HiiNUjIIj7jnYyKAjeYJs9Q00MMco2+UPlduLWn9hAwsv3cEzGCRmPvMy3TMiBnwmLvEjOkf/KAHMJlD6P35imHTyfvnKyOB+roSSxE+LlgYVi8aZwBSdxXAATVvzDM8k3NN3Cy9XYZh3kB0uFVrPQSLvWzHxMIJFYpf6lIETkMysI4mCFUgpAvUT1B3YelYlX+u2/dwC6UfWoNi0zpa6bLmJqVrcakZmlD13dlO8IsPr6RMa2CeXgkcJw3lE+hKN9b0zuyfQCh7BzsELAmYYReUbN9324A2gAQozPiPjPC8VAaaQrQVt3LmA9/PKLvJKrNVFwrBWdWffcORi72s2GSoonNK9gvhZBLTxEQLRqSk4yaipnxbwSTuD7E7ZGj/9Z6G/ox5Ws0+eKrpFleJl1SzK5Z0xzm40PqQd8eRxVKrzh/e4hD/tn6JvQc+BAi0A5aQbDEp8gozf/x/k3D+au/dogIU4wYkHe+bxtANIKEPsfpOy2TgK9NG9uk7qQOJwstdY/V9hJzwEu8yWV62gRMJbS+572tKAFpEy7PV3T+LULCQTwNH/zHee8fj20RdElVLOdDWqoaWVzdcP8lGaN93oRx8D4anHQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(39830400003)(136003)(42606007)(396003)(346002)(366004)(376002)(956004)(36756003)(8676002)(2906002)(26005)(186003)(66946007)(2616005)(1076003)(6486002)(6916009)(52116002)(38350700002)(66476007)(44832011)(7696005)(38100700002)(8936002)(83380400001)(5660300002)(316002)(86362001)(966005)(6666004)(508600001)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?4iV54bvyoXlKFxhyWMklAQ/jXgDz2HSr21unA9hn1QvvRscFHyzOBODNoB03?= =?us-ascii?Q?6qaejQMoGhcKYkTb8f5JImaL0W3/rt+r1cWnoFgE7GkWR3WpGnUh+tVrk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nEtM7SWsM7It890ApRHoS9NdcKKAHjD8Zy?= =?us-ascii?Q?e/1wgcXbTD4TIDUhlbOUEohMg/z1jO4WhGILKbS6jDO/a/GY1NyTU3gPl+xy?= =?us-ascii?Q?6GEmwod2TtHQQXiCg+ao3hQolj6KBd6Qo9cZZ5rwpnKL/Nm7/ODy0ccshb1D?= =?us-ascii?Q?+wmMeggK724TGumLerknkSCw4osJ9gLJcOHk4HtxJatn+xrJM+1OGJGc5Hhh?= =?us-ascii?Q?yaPShNY90zIXqQUtICX5o3OkpdkaLDvKdJost2VsUshxvPYHSbluwKdmQe8U?= =?us-ascii?Q?8W6frRc38XvlsRsjvO4VKw2wDrwrdQDMPhzpfeadvU0cBGxWTeX1kduIf1fI?= =?us-ascii?Q?D3DjbIjFJFb3Z7rHsNJO9dDOUvbX0mftitGLFJHftk8XoCMgwieoqBjxfN9T?= =?us-ascii?Q?YQaeML/GZM2g4qIAUifkxQ3YKBqNO/XLOYOnTqxYkond8pZ45npohIDIHfVq?= =?us-ascii?Q?ZMp5YZSENPxPUn75h5iqb77n27NYUholZFzFWbM5RSCvkbSWSHPjx2jjSJns?= =?us-ascii?Q?C+ppqzwo5Ffnf/VIIPMNlLZ3DFFsXCqESrWUPiNEM7fMJgPoDnSOGrOBf1Fu?= =?us-ascii?Q?zctskoDN+1Fydw+hwa3Z6hcLLELCn5t0aBPq2P+K9lIhFMIaPuhpVlBbjXRD?= =?us-ascii?Q?p9GIJdj3jDEgoYW7v3PVDPNMaPB/6KnH+0F5zwYHLviwKY6ldJVapLUP3Ohh?= =?us-ascii?Q?C32ko5vpVzHeRF4Git86uAw5svg=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbbdd8c8-fb21-4ffa-ed41-08d9b3714fbd X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2021 19:49:10.0896 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 85lh4iZ89J58udgHjf4nJNfKvG+s6NCVVybxhxJE/m9R+AhJyM4XuK+/QVTSwzUIfAQOHrASafVwhofBwQj0V6JSSLcjE2cn6rlc2SkToWQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P251MB0251 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2] U-Boot: Add option to disable OOT builds. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false This option sometimes breaks builds with various external dependencies. Especially vendor trees that have sourcedir path references. Signed-off-by: Christian Melki --- platforms/u-boot.in | 10 ++++++++++ rules/u-boot.make | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/platforms/u-boot.in b/platforms/u-boot.in index 410391fe8..0d8213f45 100644 --- a/platforms/u-boot.in +++ b/platforms/u-boot.in @@ -20,6 +20,16 @@ config U_BOOT_MD5 string prompt "U-Boot source md5" +config U_BOOT_BUILD_OOT + prompt "Out of tree build" + default y + bool + help + U-Boot is usually built out of tree. + But for some builds, f.ex. with firmware blobs, out of tree builds + can break because of vendors using source paths to files. + This is mostly a workaround for those type of builds. + choice prompt "config system" default U_BOOT_CONFIGSYSTEM_LEGACY diff --git a/rules/u-boot.make b/rules/u-boot.make index 38c32bf27..cb1454a89 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -23,9 +23,11 @@ U_BOOT_SUFFIX := tar.bz2 U_BOOT_URL := https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX) U_BOOT_SOURCE := $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX) U_BOOT_DIR := $(BUILDDIR)/$(U_BOOT) +ifeq ($(PTXCONF_U_BOOT_BUILD_OOT),y) U_BOOT_BUILD_DIR := $(U_BOOT_DIR)-build +endif U_BOOT_DEVPKG := NO -U_BOOT_BUILD_OOT := KEEP +U_BOOT_BUILD_OOT := $(call ptx/ifdef, PTXCONF_U_BOOT_BUILD_OOT, KEEP, NO) ifdef PTXCONF_U_BOOT_CONFIGSYSTEM_KCONFIG U_BOOT_CONFIG := $(call ptx/in-platformconfigdir, \ -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de