Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp620134rda; Sun, 22 Oct 2023 02:32:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfuP8PeA9g7tFEfIxbdX5LaW9yzuWiipp6yPN6S/lH3NCrlA91llzvMrhtQazmmqjH108r X-Received: by 2002:a17:902:db0f:b0:1c3:76c4:7242 with SMTP id m15-20020a170902db0f00b001c376c47242mr8353822plx.22.1697967147933; Sun, 22 Oct 2023 02:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697967147; cv=none; d=google.com; s=arc-20160816; b=a7/D0lWeF1ep0jNCC4SbcC4/olJGUT4LYUUcNwHVopmwdvWGJBUXuKE3DOq+ANi3PB YbCov+AockL4GIrw5sazwt42q+/63wH6fBDeTG7XqwNJbQIQCwuNPhoRxrpqNDgKy69A urxLwy4/J/yVTztGB+kjjNLhWA0OygN9Gmqxa6sWSZkgPGHxYEv3e44eyHkmR6WpcROV aMmHliJ98jt0VdW9LmOCOOe9MaCM/EKxXtiO5AhUyMCftD+smA/XjxX39b1tBgJlWM7c PWS0ZN8f3C/EksbYboJS/urEOZkHmrjggJVgI5lmraB3m4n46rF7lGxd2IzffS7c8y1v ukmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+5Fn994vvx9nu/6rJGYY794+rHNQcKKWxG1fyiYMZ7w=; fh=mdC1/KpK+YC4fyTYQLk7/kjwywPA+smMIoxoHlt1GXI=; b=swDBG8CYruT83vIJBm4mj3O3IzoCx0cDQPvuTLh66trPTuY8F8UTgZVEhmVo6MdBxc Xo7W4Jbl6JvNMsNnl5d9U4n5cba9eAWSGPvtSo9jKqKNKcSi5j+w2BlUvGSV1GzeNKeV UqJruqqqeyiufxBEP0yl+FEXiG+TPaWr+JQxz+eAmFLYKZCo9J6Dm80+nxpYTj7i7ZrO yZ+4BfhURF7wayEg2y8EqFqgp32el9y5BwMisPGJxOnwXUigdrJpHWlgAZ902Fud/MP4 t3RFCzWE4Mx23b8ccEpnNj3nfKGGH7jhJPQu8YBSbFfGaKQbM0MbL3OfzhDUfIb4opuS t9WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l11-20020a170903244b00b001c8920e3021si4772764pls.539.2023.10.22.02.32.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 02:32:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 40DCF8072448; Sun, 22 Oct 2023 02:32:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231297AbjJVJbc (ORCPT + 99 others); Sun, 22 Oct 2023 05:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjJVJbc (ORCPT ); Sun, 22 Oct 2023 05:31:32 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B0B6DDC; Sun, 22 Oct 2023 02:31:29 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 39M9VHl1003552; Sun, 22 Oct 2023 11:31:17 +0200 Date: Sun, 22 Oct 2023 11:31:17 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Shuah Khan , Zhangjin Wu , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] selftests/nolibc: support out-of-tree builds Message-ID: <20231022093117.GE2669@1wt.eu> References: <20231010-nolibc-out-of-tree-v1-0-b6a263859596@weissschuh.net> <20231010-nolibc-out-of-tree-v1-4-b6a263859596@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231010-nolibc-out-of-tree-v1-4-b6a263859596@weissschuh.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 22 Oct 2023 02:32:01 -0700 (PDT) On Tue, Oct 10, 2023 at 02:33:59PM +0200, Thomas Wei?schuh wrote: > Out of tree builds are much more convenient when building for multiple > architectures or configurations in parallel. > > Only absolute O= parameters are supported as Makefile.include will > always resolve relative paths in relation to $(srctree) instead of the > current directory. > > Add a call to "make outputmakefile" to verify that the sourcetree is > clean. At first this worried me, I thought you meant clean in the git meaning, but it's clean as in "make clean" from what I'm seeing. Yeah that sounds reasonable. > This is based on Zhangjins out-of-tree patch. > It extends that work for get_init_cpio support and also drops relative > O= specifications explicitly. Yeah I remember these discussions about these shortcomings, that's pretty reasonable. > Link: https://lore.kernel.org/lkml/06d96bd81fe812a9718098a383678ad3beba98b1.1691215074.git.falcon@tinylab.org/ > Signed-off-by: Thomas Wei?schuh (...) I think you should add a Suggested-by at least since Zhangjin attempted that work quite a few times already and allowed to make progress in that direction (maybe even co-developed, I'm not sure). Acked-by: Willy Tarreau Willy