summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/linux-api-headers
diff options
context:
space:
mode:
Diffstat (limited to 'packages-i486-stage1/linux-api-headers')
-rw-r--r--packages-i486-stage1/linux-api-headers4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages-i486-stage1/linux-api-headers b/packages-i486-stage1/linux-api-headers
new file mode 100644
index 0000000..2b9a2e2
--- /dev/null
+++ b/packages-i486-stage1/linux-api-headers
@@ -0,0 +1,4 @@
+# the Linux kernel has it's own way for cross compilations, we need
+# only the header files for glibc later, but it's better to make sure
+# to pick the correct target archicture right away
+sed -i "s@make@make ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD