Commit 8268d1af authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for Intel Core 2 Duo Q9550

parent 0e25894a
......@@ -17,6 +17,7 @@ boot-qemu-sandybridge: boot-x86_64
boot-x4-945: boot-x86_64
boot-e2-6110: boot-x86_64
boot-p4-630: boot-x86_64
boot-core2duo-q9550: boot-x86_64
boot-i3-540: boot-x86_64
boot-i5-3317u: boot-x86_64
boot-i5-8500: boot-x86_64
......@@ -484,6 +485,43 @@ p4-630:
rm -rf /kernelconfig
rm -rf linux-4.14.36
core2duo-q9550-clfs:
tar xf linux-4.14.36.tar.xz
patch -Np1 -d linux-4.14.36 < linux-4.14.36-gcc8.patch
$(MAKE) -C linux-4.14.36 defconfig
/kernelconfig/initramfs/prepare
bash -c 'files=`ls -1 /kernelconfig/qemu-core2duo-q9550` ; for config in $$files ; do cat /kernelconfig/qemu-core2duo-q9550/$$config >> linux-4.14.36/.config ; done'
$(MAKE) -C linux-4.14.36 oldconfig
$(MAKE) -C linux-4.14.36
$(MAKE) -C linux-4.14.36 modules_install
cp -v linux-4.14.36/arch/x86/boot/bzImage /boot/vmlinuz-4.14.36
cp -v linux-4.14.36/System.map /boot/System.map-4.14.36
cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36
core2duo-q9550:
tar xf linux-4.14.36.tar.xz
patch -Np1 -d linux-4.14.36 < linux-4.14.36-gcc8.patch
cp -v /boot/config-4.14.36 linux-4.14.36/.config
/kernelconfig/initramfs/prepare
bash -c 'files=`ls -1 /kernelconfig/qemu-core2duo-q9550` ; for config in $$files ; do cat /kernelconfig/qemu-core2duo-q9550/$$config >> linux-4.14.36/.config ; done'
$(MAKE) -C linux-4.14.36 oldconfig
$(MAKE) -C linux-4.14.36
rm -rf /lib/modules
rm -f /boot/config*
rm -f /boot/vmlinuz*
rm -f /boot/System.map*
$(MAKE) -C linux-4.14.36 modules_install
cp -v linux-4.14.36/arch/x86/boot/bzImage /boot/vmlinuz-4.14.36
cp -v linux-4.14.36/System.map /boot/System.map-4.14.36
cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36
i3-540-clfs:
tar xf linux-4.14.36.tar.xz
patch -Np1 -d linux-4.14.36 < linux-4.14.36-gcc8.patch
......
......@@ -245,6 +245,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-core2duo-q9550">
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-i3-540">
<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