Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp359874ybl; Wed, 21 Aug 2019 21:00:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmobKLNYLrGvl2jKVzmQ8+BWkqj1FQfJnzgHfg/y1hPfelqLbDPAsSm2UX0a8jcuFD49II X-Received: by 2002:a17:90a:e2d2:: with SMTP id fr18mr3226353pjb.98.1566446441616; Wed, 21 Aug 2019 21:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566446441; cv=none; d=google.com; s=arc-20160816; b=wSpUNbP3k2jMenB1NdWrh5vZQw1vllcrezsS0GglEh+bglrpg9OwTqUUieXBWzBroT 1qfTPFZogWznQHq5taQc69VA+snP7vtVmfZZ+S+imMCsZNsDWzdI4R6pqeMHcuEZbhy3 RXnAgaGyflb1zmyguItKbJDtIaYaWYXQfILgU1vvnOJR8BWc+62+6SX5r7PU70XcU/wg WSyUeYzdfRWNXBCpS/TQ4ILu08Q0OZKJHBRjzGLqD6jdr7t/XBr5OrNQ3iQl48HBkfdg 0XfEkyyZ8d/zESbhV47MTyC1L9LMGf/V4Jj7WxRVwvV49jQt+RyUiSxiAM8VkwrkLkEh 585Q== 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 q4si16710290pli.229.2019.08.21.21.00.24; Wed, 21 Aug 2019 21:00:41 -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 S1730890AbfHVD7a (ORCPT + 99 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(-) 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 -- 2.17.1