From 043b28ac8ebcaedac5d39bdf7f1f366b7818a666 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 4 Feb 2018 09:37:37 +0100 Subject: reorganized directory structure for package description, patches and other files --- i486-stage1/linux/DESCR | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 i486-stage1/linux/DESCR (limited to 'i486-stage1/linux/DESCR') 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 -- cgit v1.2.3-70-g09d2