I had a look at the PKGBUILD, and I think it might be as trivial as removing `arm` from the `rm` command at the end of `_package-headers()`:
https://github.com/archlinuxarm/PKGBUIL ... BUILD#L290I haven't been able to test this however, as I'm getting compiler warnings which should be disabled by patch 9 (`-Wformat-truncation`) which proves fatal when combined with `-Werror`. (I haven't been able to figure out why the patch isn't applied or isn't enough.)
Kevin Mihelich, if you see this, can you apply this patch and recompile the package?
Feel free to ping on Freenode: eric_engestrom
$this->bbcode_second_pass_code('', '
diff --git a/core/linux-oak/PKGBUILD b/core/linux-oak/PKGBUILD
index 395836301..5e7cbfd98 100644
--- a/core/linux-oak/PKGBUILD
+++ b/core/linux-oak/PKGBUILD
@@ -287,7 +287,7 @@ _package-headers() {
done
# remove unneeded architectures
- rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,x86,xtensa}
+ rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,x86,xtensa}
}
pkgname=("${pkgbase}" "${pkgbase}-headers")
')