diff options
Diffstat (limited to 'packages-i486-stage1/linux')
-rw-r--r-- | packages-i486-stage1/linux | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages-i486-stage1/linux b/packages-i486-stage1/linux index 37d75a5..09714f2 100644 --- a/packages-i486-stage1/linux +++ b/packages-i486-stage1/linux @@ -6,11 +6,9 @@ sed -i "s@make prepare@make prepare ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH 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 -# TODO: build what's possible, ommit the rest -# remove dependencies from kernel package, we don't have modules or a ramdisk right now -#sed -i 's/ \+\(depends=\)/#\1/' PKGBUILD -# ignore failing hooks on installation, it's just depmod and mkinitcpio which we both don't need -#sed -i 's@makedepends\(.*\)@#makedepends\1@g' PKGBUILD +# disable documentation +sed -i "/depends=/s/xmlto//" PKGBUILD |