diff options
Diffstat (limited to 'i486-stage1/linux/DESCR')
-rw-r--r-- | i486-stage1/linux/DESCR | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/i486-stage1/linux/DESCR b/i486-stage1/linux/DESCR new file mode 100644 index 0000000..09714f2 --- /dev/null +++ b/i486-stage1/linux/DESCR @@ -0,0 +1,14 @@ +# we currently build a monolitic kernel for the basic stuff which was +# available since 25 years. :-) + +# the Linux kernel has it's own way for cross compilation +sed -i "s@make prepare@make prepare ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD +sed -i "s@make config@make config ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD + +# remove make dependencies, currently we build without module support +# (TODO: though we can easily build kmod, but we are missing a simple ramdisk for stage1) +sed -i "s@make bzImage modules@make bzImage ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD +sed -i "s@make modules_install@#make modules_install@g" PKGBUILD + +# disable documentation +sed -i "/depends=/s/xmlto//" PKGBUILD |