core/linux-imx6-wandboard-dt add freescale specific headers to /usr/include

This commit is contained in:
CrawX 2014-03-29 16:38:32 +01:00
parent 2021dd58a3
commit ad352a9c43

View file

@ -218,6 +218,12 @@ _package-headers() {
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm" mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h" cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
# add freescale specific headers to uapi in /usr/include/linux
mkdir -p "${pkgdir}/usr/include/linux"
for f in mxcfb.h mxc_v4l2.h ipu.h; do
cp "include/uapi/linux/$f" "${pkgdir}/usr/include/linux"
done
# copy in Kconfig files # copy in Kconfig files
for i in `find . -name "Kconfig*"`; do for i in `find . -name "Kconfig*"`; do
mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'` mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`