Commit ae305f8f authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added support for AWS

parent b533a308
......@@ -20,6 +20,7 @@ boot-orange-pi-pc-plus: boot-armv7
boot-terasic-de10-standard: boot-armv7
boot-raspberry-pi-3-b: boot-armv8
boot-amlogic-s905x: boot-armv8
boot-aws: boot-x86_64
boot-qemu-kvm64: boot-x86_64
boot-qemu-phenom: boot-x86_64
boot-qemu-core2duo: boot-x86_64
......@@ -293,6 +294,41 @@ amlogics905x:
swapoff swap
rm -rf swap
aws-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/aws` ; for config in $$files ; do cat /kernelconfig/aws/$$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
aws:
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/aws` ; for config in $$files ; do cat /kernelconfig/aws/$$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
kvm64-clfs:
tar xf linux-5.2.8.tar.xz
$(MAKE) -C linux-5.2.8 defconfig
......
......@@ -215,6 +215,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<delete dir="${makedir}"/>
</target>
<target name="boot-linux-aws">
<ant antfile="packages/linux/build.xml" target="boot-linux-x86_64"/>
</target>
<target name="boot-linux-qemu-kvm64">
<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