kernel-libc-headers: clean up build/install

This commit is contained in:
q66 2021-01-06 00:02:07 +01:00
parent 62aefb22bf
commit 120b8d39bf

View File

@ -27,13 +27,11 @@ esac
do_build() { do_build() {
make mrproper make mrproper
make ARCH=${_arch} headers make ARCH=${_arch} headers
} # remove extra files and drm headers
do_install() {
find usr/include -name '.*' -delete find usr/include -name '.*' -delete
rm usr/include/Makefile rm usr/include/Makefile
vmkdir usr/include rm -rf usr/include/drm
vcopy usr/include usr }
do_install() {
# Remove drm headers, use libdrm. vcopy usr/include usr
rm -rf ${DESTDIR}/usr/include/drm
} }