Commit b533a308 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for QEMU SkyLake

parent f21a455f
......@@ -26,6 +26,7 @@ boot-qemu-core2duo: boot-x86_64
boot-qemu-nehalem: boot-x86_64
boot-qemu-westmere: boot-x86_64
boot-qemu-sandybridge: boot-x86_64
boot-qemu-skylake: boot-x86_64
boot-x4-945: boot-x86_64
boot-e2-6110: boot-x86_64
boot-p4-630: boot-x86_64
......@@ -502,6 +503,41 @@ sandybridge:
rm -rf /kernelconfig
rm -rf linux-5.2.8
skylake-clfs:
tar xf linux-5.2.8.tar.xz
$(MAKE) -C linux-5.2.8 defconfig
/kernelconfig/initramfs/prepare
bash -c 'files=`ls -1 /kernelconfig/qemu-skylake` ; for config in $$files ; do cat /kernelconfig/qemu-skylake/$$config >> linux-5.2.8/.config ; done'
$(MAKE) -C linux-5.2.8 oldconfig
$(MAKE) -C linux-5.2.8
$(MAKE) -C linux-5.2.8 modules_install
cp -v linux-5.2.8/arch/x86/boot/bzImage /boot/vmlinuz-5.2.8
cp -v linux-5.2.8/System.map /boot/System.map-5.2.8
cp -v linux-5.2.8/.config /boot/config-5.2.8
ln -svf vmlinuz-5.2.8 /boot/zImage
$(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-5.2.8
skylake:
tar xf linux-5.2.8.tar.xz
cp -v /boot/config-5.2.8 linux-5.2.8/.config
/kernelconfig/initramfs/prepare
bash -c 'files=`ls -1 /kernelconfig/qemu-skylake` ; for config in $$files ; do cat /kernelconfig/qemu-skylake/$$config >> linux-5.2.8/.config ; done'
$(MAKE) -C linux-5.2.8 oldconfig
$(MAKE) -C linux-5.2.8
rm -rf /lib/modules
rm -f /boot/config*
rm -f /boot/vmlinuz*
rm -f /boot/System.map*
$(MAKE) -C linux-5.2.8 modules_install
cp -v linux-5.2.8/arch/x86/boot/bzImage /boot/vmlinuz-5.2.8
cp -v linux-5.2.8/System.map /boot/System.map-5.2.8
cp -v linux-5.2.8/.config /boot/config-5.2.8
ln -svf vmlinuz-5.2.8 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-5.2.8
x4-945-clfs:
tar xf linux-5.2.8.tar.xz
$(MAKE) -C linux-5.2.8 defconfig
......
......@@ -239,6 +239,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-qemu-skylake">
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-x4-945">
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment