From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 30 Nov 2021 11:40:15 +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 1ms0YZ-0003Nt-2l for lore@lore.pengutronix.de; Tue, 30 Nov 2021 11:40:15 +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 1ms0YY-00025s-Pi; Tue, 30 Nov 2021 11:40:14 +0100 Received: from mail-eopbgr30043.outbound.protection.outlook.com ([40.107.3.43] helo=EUR03-AM5-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 1ms0Xu-00025j-JG for ptxdist@pengutronix.de; Tue, 30 Nov 2021 11:39:35 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VzfuXkxFdgYBqZR8Ao/+nY7Sdfz9LjZeyxR0OHCHNecnzcjhcz7dcsKzoouhbEStsPGcg3cDekGLaC1LZiT7wQ/O7sUeDQ5p22vnLQqZeSMzYB6Q4+Ijuamn2kvACMv/XjN7cqFKrj3EaPWTZZXz4wXVNSPQ7Ig/pJ/9pJo5ezaGa1Gk6dHLG1svTf53rhQVuUOn8355cJ54zxxOnCLqIN74ZGXh53Cwekid4/ViB0VFbExp09cmeq6+3iVLnWK44R+bw4kEKL5dCRniSW5AYIyS50tmD8yTEEqSR9R0CJnw84MJCYkZWKovtaOzm6xW/pa94PF15AUXBU+RnRXnYQ== 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=XYF757ioVNuGhmXKp049kOyMu/kSySR++Yzaz65UQMk=; b=oCpMMCGRN68WAe5XpYFHGFJjxM/JlAvAcB/inooKKirik0q5VUseDQkzaP2ToSsSrSRG4F0HGgbChDhkX+uLpQZph0WHs225VvxNwBkOkg+jhZ8h1tAdRlwFf4b6kwIdERnW5pyJWlfNA80hkP88xX/zSXwBwaj5E0gMsJ1VYylc4NrfyXrzKiVcV3t6reu5taQMM+DXif1VxP4f7B5XT6pzMWe9V54qdJwNmxlsPE1Aa8n7ZOfss4fasRUXSAzAbQNy3kvNEMcy2Tzxz0dG4ZPWLRWnDv6zIsAW6/ITYYCPGiEMlBf/QwW0MiYROZcGifPLVBoQvD8ykhDvJ1oYwQ== 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=XYF757ioVNuGhmXKp049kOyMu/kSySR++Yzaz65UQMk=; b=G0oHU656eE1TIKHoit0rgZKhwgKWH1e5I6FSQw6U7qRng5VSkiZ8JC/naivewpJxwsNYd5nFHaRhSjCPArwRCiR9iJpTp1Mysj29kDUdtDxGCgP85R0rF0mEG26OafuaTEj2Hs/Amz65CMTjZ9ERu6JmJ5mp451zXAmyTC/yvaQ= 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 DB9P251MB0524.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:337::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22; Tue, 30 Nov 2021 10:39:33 +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; Tue, 30 Nov 2021 10:39:32 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Tue, 30 Nov 2021 11:39:26 +0100 Message-Id: <20211130103926.618168-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: GV3P280CA0098.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::30) 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 GV3P280CA0098.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20 via Frontend Transport; Tue, 30 Nov 2021 10:39:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 299089f1-9a0b-4713-8e5b-08d9b3edb22e X-MS-TrafficTypeDiagnostic: DB9P251MB0524: 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: SehYLeMcXzJZ+GwUdYkOdMoldbOiXC1b9jlIdgmt148Sayb4n+K8UeoVmgtZ/jJnGmNbap1YdsGDiDuIz+qu7grC8SGRTXDZu5Shv+nxbstyKepjPFrT/EUgfEJ9TmycE6MPvT5Cwq7aZ4LJzqjPUmxld21m7ZcfkQ+fp9SssI9HcoxjdFXKCYb5dOVXFUVFkXbs+ugbejlI21kY1sh3wsfOroobI9aX4JJ50wigSRyo+mE/3Y5JGC5s5esIGR0jfkv672SKOucnsMsDJTw5WiMTFIFPjZzLMULXGvbpcMTd6nchafGAy5DY/ZZ5HXUSxsNBixSaaIvbegQ3+WsJ1qLxunhEeA4UV8P4psqky2GawzesQvvmvAdzvQgvX0O6W6qT/gMx3NHyFMLWzRxO9OhZlLwECAleRTOMUxj9Kij7IIPs73Gj1CAUgjCiasp7+anGI9sSv6gl+iC0qDYXcFumRIjSBi6V9SxQ2j6m/zKsS+s21zQbu2+sreymmAT3Wyf2SEz+fXm44LnQj7Aqxco6wZ6ebXM1EigO3UWOfijkN7BzA3XgN8jica9r5H7UjbcbiW/Lh5GPF7kS4+PZ9oGzujDNUqJe/TIchLy9ZK/n7aGSbct5T+l49HgEcJa78KniYW0i6rxys70rJOC0BYukS3jF4wgqJAaIzL+5lx5mCkvBu9UpU8LW4WtqB7KQunJDckhyTL1LpUm37f7Su0XKizKBxdgWBcHmX31w2Ui4g6cC35hTkmbxIKVJfGiVIdacubkMOJEUi3vsxNhfHA== 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:(396003)(39830400003)(136003)(42606007)(346002)(366004)(376002)(44832011)(83380400001)(508600001)(6916009)(1076003)(38350700002)(66946007)(2616005)(36756003)(26005)(7696005)(966005)(316002)(38100700002)(5660300002)(6666004)(86362001)(6486002)(8936002)(956004)(66556008)(8676002)(2906002)(186003)(66476007)(52116002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?NNKhyfBcdMNWiNPBvYWnNxcyHjxzwJ5RVdVgB3dG6tN6jNiRpswsOYlrKfHb?= =?us-ascii?Q?31NBXBbHHy0hPlBMvBCBR9+H6DkiB45gt2BxLHHf+4ok2qWcqnQAOLcs5s6Q?= =?us-ascii?Q?8wuXPhUW+5hF/hJ+uocLtMX+LoRNT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5zEOLLplL8hyGpO6AVJOyCvFHmNDEux8OHlTP0bpWCzE9MTkTLbpsAq4Hc5N?= =?us-ascii?Q?5xyF7ojs4vdHRmLdx52Vzbf/IpDssgg+3dfGOI4D1/FF9SW8fSuVZKbBBlT4?= =?us-ascii?Q?N39vdzl4jUa4peeQ5nmYcBjdJGr4DYPfP2Z2Jntg5VhHiD+RBIFxQD/4F1qa?= =?us-ascii?Q?SZEvTZwo87pUftugGXwqKerFC/rn/JntvLPlB1V44QDnkzIDrL+ECQrM84yH?= =?us-ascii?Q?88tjbZ2KMHWRyK9KkZqK18UE1DITmreUAIQQQ5kEUqwI7CQB0zIKAJpqIK2q?= =?us-ascii?Q?V+4BjuYaB9U8sZjnbEdyPGIz2UfJ45eFSCOeo4pZa4gFJFrpOfHqlKLEAoxv?= =?us-ascii?Q?jlHIvw5P3WZbarYTgDU3qSC9wzl5R4sg+sxOfRuRDzwECMpNPUZoNb5S+/pU?= =?us-ascii?Q?CIZ9natY9kPLPNjWYeo617W4Jvt54eS5JMl+nM+i2IzGXIMdnItzkQu5Zz9d?= =?us-ascii?Q?2nP7XvUfAxf6ITZ8TgATIu/23/6dBUxNqkQAgtYLoQuxIEs7dL9zUfWuT51i?= =?us-ascii?Q?92IQIcvceL1gN/rDgIviCVYFzecGPgV0a3uq5tw9kwro5Y8eIItmGP22ugr7?= =?us-ascii?Q?mBczx79FJBMUXYqRRhuu2XsQF9GRAirf58ytRJLicklzHKcWLASF26zPcMJA?= =?us-ascii?Q?Gudv1UK1nGqM8w50KEPzbug2Eso=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 299089f1-9a0b-4713-8e5b-08d9b3edb22e X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2021 10:39:32.9285 (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: 7xbwowHedjV0F3vqCPHJEQNim9n9rivarX5KzT2olHETMv1ZMSO8YIvqfGlnfYHTTI81b6G/16L1fRhiZoVGL3rmavDnUaL0QkKzhpXlVyY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P251MB0524 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,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v3] 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 | 12 ++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) 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..2c6a1ada4 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -23,9 +23,14 @@ 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) -U_BOOT_BUILD_DIR := $(U_BOOT_DIR)-build U_BOOT_DEVPKG := NO +ifdef PTXCONF_U_BOOT_BUILD_OOT +U_BOOT_BUILD_DIR := $(U_BOOT_DIR)-build U_BOOT_BUILD_OOT := KEEP +else +U_BOOT_BUILD_DIR := $(U_BOOT_DIR) +U_BOOT_BUILD_OOT := NO +endif ifdef PTXCONF_U_BOOT_CONFIGSYSTEM_KCONFIG U_BOOT_CONFIG := $(call ptx/in-platformconfigdir, \ @@ -54,10 +59,13 @@ U_BOOT_WRAPPER_BLACKLIST := \ U_BOOT_CONF_OPT := \ -C $(U_BOOT_DIR) \ - O=$(U_BOOT_BUILD_DIR) \ V=$(PTXDIST_VERBOSE) \ $(call remove_quotes,$(PTXCONF_U_BOOT_CUSTOM_MAKE_OPTS)) +ifdef PTXCONF_U_BOOT_BUILD_OOT +U_BOOT_CONF_OPT += O=$(U_BOOT_BUILD_DIR) +endif + U_BOOT_MAKE_ENV := \ CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \ HOSTCC=$(HOSTCC) -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de