mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/linux-imx6-wandboard-dt add freescale specific headers to /usr/include
This commit is contained in:
parent
2021dd58a3
commit
ad352a9c43
1 changed files with 6 additions and 0 deletions
|
@ -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.*||'`
|
||||
|
|
Loading…
Reference in a new issue