From ad352a9c433439c40ad02b022796eea1a2f231bd Mon Sep 17 00:00:00 2001 From: CrawX Date: Sat, 29 Mar 2014 16:38:32 +0100 Subject: [PATCH] core/linux-imx6-wandboard-dt add freescale specific headers to /usr/include --- core/linux-imx6-wandboard-dt/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/linux-imx6-wandboard-dt/PKGBUILD b/core/linux-imx6-wandboard-dt/PKGBUILD index f379404dc..ecfb119ab 100644 --- a/core/linux-imx6-wandboard-dt/PKGBUILD +++ b/core/linux-imx6-wandboard-dt/PKGBUILD @@ -218,6 +218,12 @@ _package-headers() { mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm" 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 for i in `find . -name "Kconfig*"`; do mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`