kernel-libc-headers: clean up build/install
This commit is contained in:
parent
62aefb22bf
commit
120b8d39bf
@ -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
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user