Browse Source

Make sure we don't install the private radeondrm(4) headers, by leaving out

headers from any subdirectory of dev/pci/drm.  If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.
ok mpi@, miod@
OPENBSD_5_5
kettenis 11 years ago
parent
commit
c61a32c474
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/Makefile

+ 2
- 2
src/include/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.173 2013/08/10 14:38:26 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.174 2013/08/12 11:48:22 kettenis Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $ # $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@ -140,7 +140,7 @@ copies:
cd ../sys; \ cd ../sys; \
pax -rw -pa -L \ pax -rw -pa -L \
`find ${LDIRS} -follow -type f -name '*.h' '!' \ `find ${LDIRS} -follow -type f -name '*.h' '!' \
'(' -path 'dev/microcode/*' -or -path 'dev/pci/drm/i915/*' ')' \
'(' -path 'dev/microcode/*' -or -path 'dev/pci/drm/*/*' ')' \
-print` ${DESTDIR}/usr/include -print` ${DESTDIR}/usr/include
cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_CPU} machine cd ${DESTDIR}/usr/include && rm -rf ${MACHINE} ${MACHINE_CPU} machine
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \


Loading…
Cancel
Save