# 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