diff --git a/tools/build/test-includes/Makefile b/tools/build/test-includes/Makefile index 707ab6f4ca4780..174c4341331c04 100644 --- a/tools/build/test-includes/Makefile +++ b/tools/build/test-includes/Makefile @@ -16,7 +16,7 @@ LIB= test-includes INTERNALLIB= This is a compile-only test MAN= -HDRS!= (cd ${SRCTOP}/sys; ls sys/[^_]*.h | sort ; ls net*/[^_]*.h | sort) +HDRS!= (cd ${SRCTOP}/sys; ls sys/[!_]*.h | sort ; ls net*/[!_]*.h | sort) NO_PIC= yes # Some files have to be clean for extra defines too...