Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642150

Re: [PATCH v11 11/12] uapi: export all arch specifics directories

From Dan Williams <dan.j.williams@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v11 11/12] uapi: export all arch specifics directories
Date 2017-05-16 03:10 +0200
Message-ID <tHz9T-7ej-3@gated-at.bofh.it> (permalink)
References <tot50-7ku-25@gated-at.bofh.it> <tpBWy-80f-9@gated-at.bofh.it> <tpBWy-80f-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 27, 2017 at 5:20 AM, Nicolas Dichtel
<nicolas.dichtel@6wind.com> wrote:
> This patch removes the need of subdir-y. Now all files/directories under
> arch/<arch>/include/uapi/ are exported.
>
> The only change for userland is the layout of the command 'make
> headers_install_all': directories asm-<arch> are replaced by arch-<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 <nicolas.dichtel@6wind.com>

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v11 11/12] uapi: export all arch specifics directories Dan Williams <dan.j.williams@intel.com> - 2017-05-16 03:10 +0200
  Re: [PATCH v11 11/12] uapi: export all arch specifics directories Dan Williams <dan.j.williams@intel.com> - 2017-05-16 03:20 +0200
    Re: [PATCH v11 11/12] uapi: export all arch specifics directories Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-05-16 07:00 +0200

csiph-web