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: 11108387 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E3FBD174A for ; Thu, 22 Aug 2019 03:59:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B63282173E for ; Thu, 22 Aug 2019 03:59:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="KNbcBnXH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730459AbfHVD7a (ORCPT ); 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@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