From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f66.google.com ([209.85.218.66]:34950 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751092AbdEPBCW (ORCPT ); Mon, 15 May 2017 21:02:22 -0400 MIME-Version: 1.0 In-Reply-To: <1490617217-30192-12-git-send-email-nicolas.dichtel@6wind.com> References: <1490617217-30192-1-git-send-email-nicolas.dichtel@6wind.com> <1490617217-30192-12-git-send-email-nicolas.dichtel@6wind.com> From: Dan Williams Date: Mon, 15 May 2017 18:02:20 -0700 Message-ID: Subject: Re: [PATCH v11 11/12] uapi: export all arch specifics directories Content-Type: text/plain; charset="UTF-8" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Nicolas Dichtel Cc: yamada.masahiro@socionext.com, Arnd Bergmann , mmarek@suse.com, linux-kbuild@vger.kernel.org, Linux Kernel Mailing List , linux-arch@vger.kernel.org, airlied@linux.ie, David Miller , linux@armlinux.org.uk, Borislav Petkov , slash.tmp@free.fr, daniel.vetter@ffwll.ch, rmk+kernel@armlinux.org.uk, msalter@redhat.com, jengelh@inai.de, Christoph Hellwig , tklauser@distanz.ch, Michael Ellerman , Ingo Molnar , Thomas Gleixner , ldv@altlinux.org, Herbert Xu , linux-rdma@vger.kernel.org Message-ID: <20170516010220.TRbhCIEsbTeKYzJqRVFsxD8THwH-qJbTvOdobSTp51s@z> On Mon, Mar 27, 2017 at 5:20 AM, Nicolas Dichtel wrote: > This patch removes the need of subdir-y. Now all files/directories under > arch//include/uapi/ are exported. > > The only change for userland is the layout of the command 'make > headers_install_all': directories asm- are replaced by arch-/. > Those new directories contains all files/directories of the specified arch. > > Note that only cris and tile have more directories than only asm: > - arch-v[10|32] for cris; > - arch for tile. > > Signed-off-by: Nicolas Dichtel Starting with commit 61562f981e92 "uapi: export all arch specifics directories", a "make INSTALL_HDR_PATH=$root/usr headers_install" operation will delete standard glibc headers and others in $root/usr/include. Here's the snippet from the build process where it deletes system headers with this commit: CHK include/generated/uapi/linux/version.h INSTALL include/linux/nfsd (5 files) INSTALL include/linux (482 files) REMOVE libgen.h resolv.h paths.h syscall.h spawn.h unistd.h ar.h setjmp.h termio.h wchar.h semaphore.h fcntl.h fpu_control.h glob.h termios.h nss.h fmtmsg.h shadow.h crypt.h aio.h grp.h uchar.h libudev.h argz.h utime.h complex.h obstack.h argp.h math.h sched.h xlocale.h netdb.h link.h mqueue.h ulimit.h regex.h fstab.h sgtty.h iconv.h dirent.h inttypes.h pty.h locale.h utmp.h pthread.h gconv.h lastlog.h assert.h endian.h stdio_ext.h signal.h search.h ctype.h execinfo.h values.h re_comp.h libio.h ustat.h printf.h getopt.h time.h stab.h stdlib.h gshadow.h mntent.h stdc-predef.h libkmod.h memory.h nl_types.h mcheck.h errno.h poll.h fnmatch.h limits.h ucontext.h libintl.h envz.h stdio.h wait.h monetary.h _G_config.h dlfcn.h wordexp.h string.h pwd.h tar.h proc_service.h tgmath.h byteswap.h elf.h cpio.h aliases.h wctype.h ftw.h ieee754.h err.h langinfo.h fts.h features.h gnu-versions.h malloc.h regexp.h stdint.h ifaddrs.h syslog.h error.h a.out.h utmpx.h sysexits.h fenv.h ttyent.h alloca.h thread_db.h strings.h