From patchwork Thu Jul 12 10:38:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 141812 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1343935ljj; Thu, 12 Jul 2018 03:39:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpecvYOzlNiMLJr6WCv8b4EzvuLeeBilftYiTpIjbsnpo/nPIdofSdjE83O1rxBrVqNzLBPI X-Received: by 2002:a62:198e:: with SMTP id 136-v6mr1797743pfz.103.1531391991029; Thu, 12 Jul 2018 03:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531391991; cv=none; d=google.com; s=arc-20160816; b=znIVEgiO0Kq1zVs/gz6p4RRsVI+0tKHuRjh1kF+T0zDK9UWL7//6+w4sYcbbn8Jv6g KipxfqjERfjWrpOGNdhQnmjIl9ReUEjDQ3+I2aBbyeHnRaAvzRrXpbj/aT7silcl5QS/ o81RE/tLr2Dk7pqMWXVTFRn+MKOHwDdfWPPTqD28nCree69D5+UsfjSFKvITdS3KjRtm Eq0Jbx+E+SZNPdsdshPZ0RvOgzTcaCN7C9hLMNtNlCImzV3s/HmQPACQAkHjsarj+dXf yjkZcfS7+B4Oew3A/h79NVmJ+MulsvRJMh5759sRmqx8GJbLek+zMpa31dNluW96D/w+ UIBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=2AiEC+QN3PqDcABbJ5HRDgwyByA5pxmTqf1I58mKE+I=; b=M6/F68C0Nb3eeusAcZFL8fkNgsEm5MEiY+PTdv2LrYciUYcY1SMngTA8QG5SxVEWwN Z1w84DOndHDvj87buMfb8DIy0dCRSxJxTJydG00ae0J+cr45qPK2+CbtG0rr12bWXDCH TezfWbt0loCx2FApCQHF37BDNgpUJTvWw/pGrU1Jjue4tjUVwCViirH7M/+S7wNsHFVe XcyLe8LXmOF2pmvBWp59TNuPOPpfsUQzzXxbrnz9hhyxMjWp8Ceq8WgUuCUOJChk4i6u XwSI6ywGgkKo88RR+eaGFPZ/zRfYQrZNFVX928aXuD3Az57mEuhV7aeytyOmHT5MO9Pt CXNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=VKB0s3y3; 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 s6-v6si1210459pgg.41.2018.07.12.03.39.50; Thu, 12 Jul 2018 03:39:51 -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=VKB0s3y3; 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 S1726635AbeGLKsq (ORCPT + 29 others); Thu, 12 Jul 2018 06:48:46 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:50899 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbeGLKsq (ORCPT ); Thu, 12 Jul 2018 06:48:46 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w6CAcbcm004202; Thu, 12 Jul 2018 19:38:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w6CAcbcm004202 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1531391918; bh=2AiEC+QN3PqDcABbJ5HRDgwyByA5pxmTqf1I58mKE+I=; h=From:To:Cc:Subject:Date:From; b=VKB0s3y3d3JAF5xmtzBo2POUdxhfQwocGNgsWdiyotgsnvQ4Pp3WbJZf22Y2s+oAV cQ+1fbfG8KDV3ieu/IQd3bsgQLlw/gxUXnqtLskpuDXmHFwD5mq0g4qcs7zt3rpPUv 7+5boaEQss4DQrKHA64Wz7D/uYEDEAqb9jt/Z8gYQ1zhsd/853UpQxb7lPcRz7Qcda p+yP9x5gFdwKE0AOYVMZrm8vSwjYApK9NTSPFs4O4R17ZBUGCWFp74CzZHUJr9yfNj YkYZthDA09UCxgPTPwE+Y8XlHzomZWHCpMlKlf/cz+y7Chkk9P9bAxnH7/U/Mquw7S wRo1JbIPV6Jpw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Ben Hutchings , Sam Ravnborg , Masahiro Yamada , =?utf-8?q?Uwe_Kleine-?= =?utf-8?b?S8O2bmln?= , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: suppress warnings from 'getconf LFS_*' Date: Thu, 12 Jul 2018 19:38:36 +0900 Message-Id: <1531391916-24086-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Suppress warnings for systems that do not recognize LFS_*. getconf: no such configuration parameter `LFS_CFLAGS' getconf: no such configuration parameter `LFS_LDFLAGS' getconf: no such configuration parameter `LFS_LIBS' Fixes: d7f14c66c273 ("kbuild: Enable Large File Support for hostprogs") Reported-by: Chen Feng Cc: Uwe Kleine-König Signed-off-by: Masahiro Yamada --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.4 Acked-by: Uwe Kleine-König diff --git a/Makefile b/Makefile index 0f035ae..abc74f8 100644 --- a/Makefile +++ b/Makefile @@ -353,9 +353,9 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ else if [ -x /bin/bash ]; then echo /bin/bash; \ else echo sh; fi ; fi) -HOST_LFS_CFLAGS := $(shell getconf LFS_CFLAGS) -HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS) -HOST_LFS_LIBS := $(shell getconf LFS_LIBS) +HOST_LFS_CFLAGS := $(shell getconf LFS_CFLAGS 2>/dev/null) +HOST_LFS_LDFLAGS := $(shell getconf LFS_LDFLAGS 2>/dev/null) +HOST_LFS_LIBS := $(shell getconf LFS_LIBS 2>/dev/null) HOSTCC = gcc HOSTCXX = g++