From patchwork Wed Dec 3 06:45:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 5426921 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6D77BBEEA8 for ; Wed, 3 Dec 2014 06:46:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9922F20340 for ; Wed, 3 Dec 2014 06:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 113B820272 for ; Wed, 3 Dec 2014 06:46:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751233AbaLCGp7 (ORCPT ); Wed, 3 Dec 2014 01:45:59 -0500 Received: from smtp.mei.co.jp ([133.183.100.20]:42034 "EHLO smtp.mei.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbaLCGp6 (ORCPT ); Wed, 3 Dec 2014 01:45:58 -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 sB36jnPx016179; Wed, 3 Dec 2014 15:45:49 +0900 (JST) Received: from epochmail.jp.panasonic.com ([157.8.1.130]) by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili15) with ESMTP id sB36jlB26868; Wed, 3 Dec 2014 15:45:47 +0900 Received: by epochmail.jp.panasonic.com (8.12.11.20060308/3.7W/lomi15) id sB36jkmX002641; Wed, 3 Dec 2014 15:45:46 +0900 Received: from poodle by lomi15.jp.panasonic.com (8.12.11.20060308/3.7W) with ESMTP id sB36jkHs002598; Wed, 3 Dec 2014 15:45:46 +0900 Received: from beagle.diag.org (beagle.diag.org [10.184.179.16]) by poodle (Postfix) with ESMTP id A301C2740043; Wed, 3 Dec 2014 15:45:46 +0900 (JST) From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Jonathan Corbet , Masahiro Yamada , Michal Marek , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: update headers_install.txt document Date: Wed, 3 Dec 2014 15:45:41 +0900 Message-Id: <1417589141-14814-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 arch header directories "include/asm-*" were moved long ago. Now we should check the existence of arch/*/include/uapi/asm/Kbuild to see if an architecture supports the headers installation. (Actually, "um" is the only architecture that does not have it.) Signed-off-by: Masahiro Yamada --- Documentation/kbuild/headers_install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kbuild/headers_install.txt b/Documentation/kbuild/headers_install.txt index 951eb9f..8e668d4 100644 --- a/Documentation/kbuild/headers_install.txt +++ b/Documentation/kbuild/headers_install.txt @@ -31,7 +31,7 @@ current architecture. The linux/asm directory of the exported kernel headers is platform-specific, to see a complete list of supported architectures use the command: - ls -d include/asm-* | sed 's/.*-//' + for i in arch/*; do [ -e $i/include/uapi/asm/Kbuild ] && basename $i; done INSTALL_HDR_PATH indicates where to install the headers. It defaults to "./usr/include".