diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-04 09:37:37 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-04 09:37:37 +0100 |
commit | 043b28ac8ebcaedac5d39bdf7f1f366b7818a666 (patch) | |
tree | 4f7784dc6b5530bbb7623d0ca2ddb4c71beb3c40 /i486-stage1/linux/DESCR | |
parent | 7be0daa504d7c43e20dc5583350417bff8d0f474 (diff) | |
download | bootstrap32-043b28ac8ebcaedac5d39bdf7f1f366b7818a666.tar.xz |
reorganized directory structure for package description, patches and other files
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 |