Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp412148pxm; Fri, 25 Feb 2022 10:22:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrWfDbxg4BuCtmBu3LfBhhg4CLlMT3usb5KLJaeBlyYAIgCwELnxkDyDOQnfGU/8aJBnx4 X-Received: by 2002:a05:6a00:2492:b0:4cc:eacd:58ea with SMTP id c18-20020a056a00249200b004cceacd58eamr8766171pfv.21.1645813368527; Fri, 25 Feb 2022 10:22:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645813368; cv=none; d=google.com; s=arc-20160816; b=rGtSQs0LBvfowQdvja/4x9X6AhLv1nafmlEHhPdyczvp46vQ6w+jLkXW9Cu1f55JxC gr8BA+Nv8zmgumoM61eUJXMS1gP+5hxuzdzLDGyJpIPE9VgOu2CJaI8D4AZ+7Jvimew4 ZXpuWwJEG5LVL12amz4qYkeZ/iH6mJiapYam7zptzoX9mk3PF9HLywrldl3vjCX9TD6q nR+21XZHbn1DEQ/t0FftAjG1jat9hHxDdBsPUalDr13Pr8yzuDU/TwMukqVU2W6mLL1r bIP2AYVOd8VGrS0dPto9mvR4YHQpJPwVf7f/0bkSZfrLkh6RFJkOLuExHsNjQk2qaV/q XCQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=jmPNe5w2igTeTdG9i+t0C+LJ8u5o2P/TYchcIcjneOM=; b=lTy5NLJvyjYUlyv2EgCT09bB+ERJ2gPXEkmCt+9BFAXMf+BVDJM+VzOKBTFyllh7hR jwfyclGxBmJcR0zGPbgkTC7JlZDewCyt7EfM0HwR/tfy4WPRVukFGkueisvQEFlNJAt8 PMeFbA+cA2ne1egMKN/zGe7eP23P0bI4ryoJ0Xz96xmfN3U5wLixqjHfGuAy0BA91hJs PwF8hNmLCMc2HdVpHKZbrYJRRA39/Yw6jZ+oLghfrXamTgSkGmLrMxzYPQbL4QtSQdUj 8m0uFwE1aGtdOqna6GKEc4s5/jjcPBZF2Ty1QorC1dbfMufrnNcvI0iyVZXFosOMYy5z DfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=UAtesJgz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be4-20020a656e44000000b00373cf6cd3c3si2475790pgb.643.2022.02.25.10.22.32; Fri, 25 Feb 2022 10:22:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=UAtesJgz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231775AbiBYSCU (ORCPT + 99 others); Fri, 25 Feb 2022 13:02:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231755AbiBYSCS (ORCPT ); Fri, 25 Feb 2022 13:02:18 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24F5825F35C for ; Fri, 25 Feb 2022 10:01:43 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id z7so4904948ilb.6 for ; Fri, 25 Feb 2022 10:01:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jmPNe5w2igTeTdG9i+t0C+LJ8u5o2P/TYchcIcjneOM=; b=UAtesJgznmZkD5fCGtm7cVlSmUmJT0RNZpejtSXRc54OGmXFBgYOWb/Wup7KhHpZKC 6KWhHF8W1G1Ar4MY86dZ37zqxQGpS7toDNK1lTeVdbPXk6nEldKmki8uV/GjOhMvxQXK Iv7jJ7uL0UjIyqHbsp9eAtA8Hy4HY5ToJCNJo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jmPNe5w2igTeTdG9i+t0C+LJ8u5o2P/TYchcIcjneOM=; b=zT6OB+Nplj3br8PQKtuuQefSCb6QrNJL6Xn9+jsnUCdvmqrjBiRK46PZDLgcOnoel3 BC89Okhie6hOT4pWn1VzzSGN83mCc0nkOoojgSe76qBYR262oTKqgLFuSOzWyRWo79ez C61/KAlFDviFzGGlVobJfAROjbv83paaIBaUOlLeCi7KIgS9xXYwUxAWKn2TgVm2zS3N idra5ecdlis3slfeY3RtS4ntn0jWdHajbVygj18OI04xrL1B7CIIOX2Al649qQiC8qCZ UYsab3Zx5zeilWHAmjXpX3bij61gVb+UkzxVPOIYyeyWFAvcZ7ePy9iAgivALi9MBHW6 xd3g== X-Gm-Message-State: AOAM530HrKK4MsfpbMSqowZF4TaJpU1sm4pGEkNftwmcnfva1g394Ij2 uBR4ZV2kDbeLLlNoYK/mWQcS6g== X-Received: by 2002:a05:6e02:178b:b0:2c2:81f5:3cbb with SMTP id y11-20020a056e02178b00b002c281f53cbbmr7469031ilu.296.1645812102498; Fri, 25 Feb 2022 10:01:42 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id a2-20020a056e02120200b002c21a18437csm1932389ilq.40.2022.02.25.10.01.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Feb 2022 10:01:42 -0800 (PST) Subject: Re: [PATCH V2] selftests: Fix build when $(O) points to a relative path To: Muhammad Usama Anjum , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh Cc: kernel@collabora.com, kernelci@groups.io, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Shuah Khan References: <20220216223817.1386745-1-usama.anjum@collabora.com> <46489cd9-fb7a-5a4b-7f36-1c9f6566bd93@collabora.com> From: Shuah Khan Message-ID: <63870982-62ba-97f2-5ee2-d4457a7a5cdb@linuxfoundation.org> Date: Fri, 25 Feb 2022 11:01:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <46489cd9-fb7a-5a4b-7f36-1c9f6566bd93@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/22 10:22 AM, Muhammad Usama Anjum wrote: > Any thoughts about it? > No to post please. > On 2/17/22 3:38 AM, Muhammad Usama Anjum wrote: >> Build of bpf and tc-testing selftests fails when the relative path of >> the build directory is specified. >> >> make -C tools/testing/selftests O=build0 >> make[1]: Entering directory '/linux_mainline/tools/testing/selftests/bpf' >> ../../../scripts/Makefile.include:4: *** O=build0 does not exist. Stop. >> make[1]: Entering directory '/linux_mainline/tools/testing/selftests/tc-testing' >> ../../../scripts/Makefile.include:4: *** O=build0 does not exist. Stop. >> >> Makefiles of bpf and tc-testing include scripts/Makefile.include file. >> This file has sanity checking inside it which checks the output path. >> The output path is not relative to the bpf or tc-testing. The sanity >> check fails. Expand the output path to get rid of this error. The fix is >> the same as mentioned in commit 150a27328b68 ("bpf, preload: Fix build >> when $(O) points to a relative path"). >> >> Signed-off-by: Muhammad Usama Anjum >> --- >> Changes in V2: >> Add more explaination to the commit message. >> Support make install as well. Looks god to me. I can pull this in for Linux 5.18-rc1 thanks, -- Shuah