From patchwork Thu Aug 22 03:59:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171993 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp323767ily; Wed, 21 Aug 2019 20:59:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFnc9F0bpMG3dSQtsZ/GT2AkT5TnqeSwF0RT8rVi69tLenQI3Ofav4neKHRNqmy9cU6tZo X-Received: by 2002:a17:90a:244a:: with SMTP id h68mr1294355pje.100.1566446372032; Wed, 21 Aug 2019 20:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566446372; cv=none; d=google.com; s=arc-20160816; b=1H6jj7x6Tkh9YPBsR98pmAHPMIVVZSEMNAuI46bKZktFtkuoXbTD4FYxVLGqVaaw7g LdUNyONDxGXSrPzQ+s9aPg1Ql2gTCRXbmj4fuXLjuhP9svesADWKYzu0PQ/+FTGUBGT7 bn6p5gyR8doypREZIdmZbfwHluoI9q9srSpYo7WrPKVgLdXNjR76Y5MC7QNtmZ4hKVPW ardv498FAFJYCCtvsYwiY4g5bi+XyGARXvEpFQtoojyzlfW43MPPizyvqpBAYNuNFbo7 02dq+PtdGH/rrbEpK/cVGqt4H/Ac8XCROHUtIc5LqmKdwDsCtBJZkUetFrJbJCzDB/Ml e3ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=aEYcYcoE7Rpp9tsonHqvZxtsKPFLqVgtydGUUsVUt4g=; b=gMdJ1OCdatC5Jc4FGDPISruF75ow+nEHpbPUU1/GHyPd4JWymOzRziuvGPAYpuvwsZ TeqVK6G5ewHF/zT4IGbsJGXFsaFgAIfr8xyaQCnSmfWpMfuexTppVbystWmuY3IYsoFm kt3hDUob2xpzxdNeCSe19qaLsEN3mBwmY8/UcwMBA/m7Y2pr2AlQlhNQGAg96Z5b2RoA BHh33D1zmMagWW0Zyd9byBQABtIQmnHcjwQUAyJzUoRCkuc5ry04FxDmJskTB9Av+V72 oLKb64uMvR4iXEI10DdLo2kxXradtOZzPqSiimA5dR3J3rFuBbE6VPn9StzON82+2FIr 8mqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KNbcBnXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14si15683820pgh.205.2019.08.21.20.59.31; Wed, 21 Aug 2019 20:59:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KNbcBnXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730918AbfHVD7a (ORCPT + 28 others); Wed, 21 Aug 2019 23:59:30 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:42565 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730619AbfHVD7a (ORCPT ); Wed, 21 Aug 2019 23:59:30 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id x7M3xDnH020640; Thu, 22 Aug 2019 12:59:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x7M3xDnH020640 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566446353; bh=aEYcYcoE7Rpp9tsonHqvZxtsKPFLqVgtydGUUsVUt4g=; h=From:To:Cc:Subject:Date:From; b=KNbcBnXH2H5EshNX6ck9sAUV1WSCcaf5uAV6QsuP9NobedY1bNJR4CVznPeKKSodO tPsXtQvhuqt3PdUVqrDEXnirM+f0/BU6enprFbZwQ2jvzuu2riGHBYgxz+Y0U9AYxX eTfD+OEX7VCzVZnPY5XvEOfd3kWYzOcPTB8bUR/K1b0iEzQSDiHbqYCZKQ7vZgS1/I HtCXqZl3cH+Rwsl63aQJMUIzMAhvr+NZwjiBf8YQrsBHV2zTS8w7L6JOtcDXH/m7a0 H1ArUTgqr51bHXmLgILf6lZDxW574CEr6lCub8KHcH/iAxPqgjGjkQGqGXMjgMBHvm pblSo2BY2gCUA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: get rid of $(realpath ...) from scripts/mkmakefile Date: Thu, 22 Aug 2019 12:59:11 +0900 Message-Id: <20190822035911.23478-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both relative path and absolute path have pros and cons. For example, we can move the source and objtree around together by using the relative path to the source tree. Do not force the absolute path to the source tree. If you prefer the absolute path, you can specify KBUILD_ABS_SRCTREE=1. Signed-off-by: Masahiro Yamada --- scripts/mkmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/scripts/mkmakefile b/scripts/mkmakefile index 4d0faebb1719..1cb174751429 100755 --- a/scripts/mkmakefile +++ b/scripts/mkmakefile @@ -12,6 +12,6 @@ if [ "${quiet}" != "silent_" ]; then fi cat << EOF > Makefile -# Automatically generated by $(realpath $0): don't edit -include $(realpath $1/Makefile) +# Automatically generated by $0: don't edit +include $1/Makefile EOF