Commit e49fb95a authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for x5-z8330

parent fca85a9a
......@@ -42,6 +42,7 @@ boot-core2duo-q9550: boot-x86_64
boot-i3-540: boot-x86_64
boot-i5-3317u: boot-x86_64
boot-i5-8500: boot-x86_64
boot-x5-z8330: boot-x86_64
boot-i7-2600: boot-x86_64
boot-xeon-5130: boot-x86_64
boot-xeon-e5504: boot-x86_64
......@@ -1092,6 +1093,41 @@ i5-8500:
rm -rf /kernelconfig
rm -rf linux-5.12.10
x5-z8330-clfs:
tar xf linux-5.12.10.tar.xz
$(MAKE) -C linux-5.12.10 defconfig
/kernelconfig/initramfs/prepare
bash -c 'files=`ls -1 /kernelconfig/x5-z8330` ; for config in $$files ; do cat /kernelconfig/x5-z8330/$$config >> linux-5.12.10/.config ; done'
$(MAKE) -C linux-5.12.10 oldconfig
$(MAKE) -C linux-5.12.10
$(MAKE) -C linux-5.12.10 modules_install
cp -v linux-5.12.10/arch/x86/boot/bzImage /boot/vmlinuz-5.12.10
cp -v linux-5.12.10/System.map /boot/System.map-5.12.10
cp -v linux-5.12.10/.config /boot/config-5.12.10
ln -svf vmlinuz-5.12.10 /boot/zImage
$(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-5.12.10
x5-z8330:
tar xf linux-5.12.10.tar.xz
cp -v /boot/config-5.12.10 linux-5.12.10/.config
/kernelconfig/initramfs/prepare
bash -c 'files=`ls -1 /kernelconfig/x5-z8330` ; for config in $$files ; do cat /kernelconfig/x5-z8330/$$config >> linux-5.12.10/.config ; done'
$(MAKE) -C linux-5.12.10 oldconfig
$(MAKE) -C linux-5.12.10
rm -rf /lib/modules
rm -f /boot/config*
rm -f /boot/vmlinuz*
rm -f /boot/System.map*
$(MAKE) -C linux-5.12.10 modules_install
cp -v linux-5.12.10/arch/x86/boot/bzImage /boot/vmlinuz-5.12.10
cp -v linux-5.12.10/System.map /boot/System.map-5.12.10
cp -v linux-5.12.10/.config /boot/config-5.12.10
ln -svf vmlinuz-5.12.10 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-5.12.10
i7-2600-clfs:
tar xf linux-5.12.10.tar.xz
$(MAKE) -C linux-5.12.10 defconfig
......
......@@ -299,6 +299,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-x5-z8330">
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-i7-2600">
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
......
kernel
/boot/.*
modules
/lib/modules/.*
kernel
/boot/.*
modules
/lib/modules/.*
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