summaryrefslogtreecommitdiff
path: root/content/kernel-headers-2.4.21.oe
blob: 1792853acb5e56c9c73870f573ade006347f744f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DESCRIPTION="Kernel headers need to compile the C-Library"
LICENSE="GPL"
SRC_URI="http://www.uclibc.org/downloads/toolchain/${P}.tar.bz2"
PROVIDES=virtual/kernel-header
S="${WORKDIR}/linux"

do_stage() {
	mkdir -p ${STAGING_DIR}/target/include/{linux,asm}
	cp -a include/linux/* ${STAGING_DIR}/target/include/linux/
	cp -a include/asm-${ARCH}/* ${STAGING_DIR}/target/include/asm/
	cp -a ${FILESDIR}/{version,autoconf}.h ${STAGING_DIR}/target/include/linux/
	chmod 644 ${STAGING_DIR}/target/include/linux/{version,autoconf}.h
}