Commit 5a20c1cd authored by Artem Moroz's avatar Artem Moroz

Added support for AMD Phenom II X4 945

parent 1fd53744
......@@ -10,6 +10,7 @@ boot-orange-pi-plus-2e: boot-armv7
boot-orange-pi-pc-plus: boot-armv7
boot-raspberry-pi-3-b: boot-armv8
boot-qemu-kvm64: boot-x86_64
boot-x4-945: boot-x86_64
boot-e2-6110: boot-x86_64
boot-p4-630: boot-x86_64
boot-i3-540: boot-x86_64
......@@ -219,6 +220,43 @@ kvm64:
rm -rf /kernelconfig
rm -rf linux-4.14.36
x4-945-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/x4-945` ; for config in $$files ; do cat /kernelconfig/x4-945/$$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
x4-945:
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/x4-945` ; for config in $$files ; do cat /kernelconfig/x4-945/$$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
e2-6110-clfs:
tar xf linux-4.14.36.tar.xz
patch -Np1 -d linux-4.14.36 < linux-4.14.36-gcc8.patch
......
......@@ -217,6 +217,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<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>
<target name="boot-linux-e2-6110">
<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