[klibc] Kbuild.install: Copy UAPI headers instead of reinstalling them
Since the UAPI/KAPI header split in Linux 3.7, we have needed
KLIBCKERNELSRC to point to the installed UAPI headers. Invoking
"make headers_install" in this directory doesn't work.
The previously proposed fix was to invoke make in the parent
directory. But since we require the headers to be installed
already, we can copy the install tree instead. Make sure to
dereference any symbolic links while doing this.
Reported-by: Thomas Meyer <firstname.lastname@example.org>
Reported-by: Luis R. Rodriguez <email@example.com>
Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
1 file changed