Commit 1fd53744 authored by Artem Moroz's avatar Artem Moroz

Added Pentium 4 630

parent 5af7c9ea
......@@ -11,6 +11,7 @@ boot-orange-pi-pc-plus: boot-armv7
boot-raspberry-pi-3-b: boot-armv8
boot-qemu-kvm64: boot-x86_64
boot-e2-6110: boot-x86_64
boot-p4-630: boot-x86_64
boot-i3-540: boot-x86_64
boot-i5-3317u: boot-x86_64
boot-i5-8500: boot-x86_64
......@@ -255,6 +256,43 @@ e2-6110:
rm -rf /kernelconfig
rm -rf linux-4.14.36
p4-630-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/p4-630` ; for config in $$files ; do cat /kernelconfig/p4-630/$$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
p4-630:
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/p4-630` ; for config in $$files ; do cat /kernelconfig/p4-630/$$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
......
......@@ -221,6 +221,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-p4-630">
<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