2005-04-11 23:09:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2005/04/11 21:13:53 tvierling Exp $
|
2004-01-28 11:22:22 +01:00
|
|
|
|
|
|
|
.include "../../wip/linux-kernel/Makefile.common"
|
|
|
|
|
2004-01-28 18:25:51 +01:00
|
|
|
PKGNAME= linux-kernel-headers-${LINUX_VERSION}
|
|
|
|
COMMENT= Linux kernel headers
|
2004-01-28 11:22:22 +01:00
|
|
|
|
2004-04-01 00:48:22 +02:00
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
|
2004-02-03 10:20:15 +01:00
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_ARCH}
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.common
|
|
|
|
|
2004-01-28 18:25:51 +01:00
|
|
|
do-build:
|
2004-03-11 18:49:38 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} include/linux/version.h
|
2004-01-28 11:22:22 +01:00
|
|
|
|
|
|
|
do-install:
|
2004-03-07 05:06:52 +01:00
|
|
|
cd ${WRKSRC}/include && ${PAX} -rw -pe linux ${PREFIX}/include
|
2004-02-03 10:20:15 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/asm
|
2004-03-11 18:49:38 +01:00
|
|
|
${RM} ${PREFIX}/include/asm-generic
|
|
|
|
${LN} -s ${PREFIX}/include/asm ${PREFIX}/include/asm-generic
|
2004-03-07 05:06:52 +01:00
|
|
|
cd ${WRKSRC}/include/asm-${LOWER_ARCH} && \
|
|
|
|
${PAX} -rw -pe . ${PREFIX}/include/asm
|
2004-03-07 05:35:54 +01:00
|
|
|
cd ${WRKSRC}/include/asm-generic && \
|
|
|
|
${PAX} -rw -pe . ${PREFIX}/include/asm
|
2004-01-28 11:22:22 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|