Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751679AbdFIOMh (ORCPT ); Fri, 9 Jun 2017 10:12:37 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:33204 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbdFIOMf (ORCPT ); Fri, 9 Jun 2017 10:12:35 -0400 Reply-To: nicolas.dichtel@6wind.com Subject: Re: [PATCH] kbuild: replace genhdr-y with generated-y, deprecating genhdr-y References: <1496996992-17857-1-git-send-email-yamada.masahiro@socionext.com> To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: Daniel Vetter , Michal Marek , Michael Ellerman , x86@kernel.org, "H. Peter Anvin" , Jonathan Corbet , Thomas Gleixner , linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ingo Molnar , Russell King , linux-kernel@vger.kernel.org From: Nicolas Dichtel Organization: 6WIND Message-ID: <40a662b5-055b-b5ac-cebe-39b417b677de@6wind.com> Date: Fri, 9 Jun 2017 16:12:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1496996992-17857-1-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 22 Le 09/06/2017 à 10:29, Masahiro Yamada a écrit : > Prior to commit fcc8487d477a ("uapi: export all headers under uapi > directories"), genhdr-y was meant to specify generated UAPI headers. > > - generated-y: generated headers (other than asm-generic wrappers) > - header-y : headers to be exported > - genhdr-y : generated headers to be exported (generated-y + header-y) > > Now headers under UAPI directories are all exported. So, there is no > more difference between generated-y and genhdr-y. > > We see two users of genhdr-y, arch/{arm,x86}/include/uapi/asm/Kbuild. > They generate some headers in arch/{arm,x86}/include/uapi/generated/ > directories, which are obviously exported. > > Replace genhdr-y with generated-y, and deprecate genhdr-y. > > Signed-off-by: Masahiro Yamada Good catch. It eases the understanding of all those mechanisms. After the fix of the typo in the commitlog: Acked-by: Nicolas Dichtel