From patchwork Wed Dec 3 06:52:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 5426951 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F11E89F1C5 for ; Wed, 3 Dec 2014 06:52:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2275B20340 for ; Wed, 3 Dec 2014 06:52:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1C852028D for ; Wed, 3 Dec 2014 06:52:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751396AbaLCGwn (ORCPT ); Wed, 3 Dec 2014 01:52:43 -0500 Received: from smtp.mei.co.jp ([133.183.100.20]:44993 "EHLO smtp.mei.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbaLCGwm (ORCPT ); Wed, 3 Dec 2014 01:52:42 -0500 Received: from mail-gw.jp.panasonic.com ([157.8.1.157]) by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile12) with ESMTP id sB36qe28024100; Wed, 3 Dec 2014 15:52:40 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili17) with ESMTP id sB36qfA25514; Wed, 3 Dec 2014 15:52:41 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi13) id sB36qfD7002654; Wed, 3 Dec 2014 15:52:41 +0900 Received: from poodle by lomi13.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id sB36qedt002596; Wed, 3 Dec 2014 15:52:40 +0900 Received: from beagle.diag.org (beagle.diag.org [10.184.179.16]) by poodle (Postfix) with ESMTP id C5ABA2740043; Wed, 3 Dec 2014 15:52:40 +0900 (JST) From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: fix scripts/headers.sh to see the correct Kbuild path Date: Wed, 3 Dec 2014 15:52:15 +0900 Message-Id: <1417589535-15867-1-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The exported headers were moved to "uapi" directories. We should check the existence of arch/*/include/uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- scripts/headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/headers.sh b/scripts/headers.sh index 95ece06..b164336 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh @@ -6,7 +6,7 @@ set -e do_command() { - if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then + if [ -f ${srctree}/arch/$2/include/uapi/asm/Kbuild ]; then make ARCH=$2 KBUILD_HEADERS=$1 headers_$1 else printf "Ignoring arch: %s\n" ${arch}