Commit 5af7c9ea authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Kernel config should be removed after kernel is built

parent 99027c27
...@@ -79,6 +79,7 @@ opiplus2e-clfs: ...@@ -79,6 +79,7 @@ opiplus2e-clfs:
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
ln -svf dtbs/4.14.36/sun8i-h3-orangepi-plus2e.dtb /boot/machine.dtb ln -svf dtbs/4.14.36/sun8i-h3-orangepi-plus2e.dtb /boot/machine.dtb
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
opiplus2e: opiplus2e:
...@@ -100,6 +101,7 @@ opiplus2e: ...@@ -100,6 +101,7 @@ opiplus2e:
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
ln -svf dtbs/4.14.36/sun8i-h3-orangepi-plus2e.dtb /boot/machine.dtb ln -svf dtbs/4.14.36/sun8i-h3-orangepi-plus2e.dtb /boot/machine.dtb
rm -f /boot/*.old rm -f /boot/*.old
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
opipcplus-clfs: opipcplus-clfs:
...@@ -116,6 +118,7 @@ opipcplus-clfs: ...@@ -116,6 +118,7 @@ opipcplus-clfs:
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
ln -svf dtbs/4.14.36/sun8i-h3-orangepi-pc-plus.dtb /boot/machine.dtb ln -svf dtbs/4.14.36/sun8i-h3-orangepi-pc-plus.dtb /boot/machine.dtb
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
opipcplus: opipcplus:
...@@ -137,6 +140,7 @@ opipcplus: ...@@ -137,6 +140,7 @@ opipcplus:
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
ln -svf dtbs/4.14.36/sun8i-h3-orangepi-pc-plus.dtb /boot/machine.dtb ln -svf dtbs/4.14.36/sun8i-h3-orangepi-pc-plus.dtb /boot/machine.dtb
rm -f /boot/*.old rm -f /boot/*.old
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
rpi3b-clfs: rpi3b-clfs:
...@@ -153,6 +157,7 @@ rpi3b-clfs: ...@@ -153,6 +157,7 @@ rpi3b-clfs:
ln -svf dtbs/4.14.36/broadcom/bcm2837-rpi-3-b.dtb /boot/machine.dtb ln -svf dtbs/4.14.36/broadcom/bcm2837-rpi-3-b.dtb /boot/machine.dtb
tar xf brcm-firmware.tar.xz -C /lib/firmware tar xf brcm-firmware.tar.xz -C /lib/firmware
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
rpi3b: rpi3b:
...@@ -173,6 +178,7 @@ rpi3b: ...@@ -173,6 +178,7 @@ rpi3b:
ln -svf vmlinux-4.14.36 /boot/Image ln -svf vmlinux-4.14.36 /boot/Image
ln -svf dtbs/4.14.36/broadcom/bcm2837-rpi-3-b.dtb /boot/machine.dtb ln -svf dtbs/4.14.36/broadcom/bcm2837-rpi-3-b.dtb /boot/machine.dtb
rm -f /boot/*.old rm -f /boot/*.old
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
kvm64-clfs: kvm64-clfs:
...@@ -189,6 +195,7 @@ kvm64-clfs: ...@@ -189,6 +195,7 @@ kvm64-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
kvm64: kvm64:
...@@ -208,6 +215,7 @@ kvm64: ...@@ -208,6 +215,7 @@ kvm64:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
e2-6110-clfs: e2-6110-clfs:
...@@ -224,6 +232,7 @@ e2-6110-clfs: ...@@ -224,6 +232,7 @@ e2-6110-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
e2-6110: e2-6110:
...@@ -243,6 +252,7 @@ e2-6110: ...@@ -243,6 +252,7 @@ e2-6110:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i3-540-clfs: i3-540-clfs:
...@@ -259,6 +269,7 @@ i3-540-clfs: ...@@ -259,6 +269,7 @@ i3-540-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i3-540: i3-540:
...@@ -278,6 +289,7 @@ i3-540: ...@@ -278,6 +289,7 @@ i3-540:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i5-3317u-clfs: i5-3317u-clfs:
...@@ -294,6 +306,7 @@ i5-3317u-clfs: ...@@ -294,6 +306,7 @@ i5-3317u-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i5-3317u: i5-3317u:
...@@ -313,6 +326,7 @@ i5-3317u: ...@@ -313,6 +326,7 @@ i5-3317u:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i5-8500-clfs: i5-8500-clfs:
...@@ -329,6 +343,7 @@ i5-8500-clfs: ...@@ -329,6 +343,7 @@ i5-8500-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i5-8500: i5-8500:
...@@ -348,6 +363,7 @@ i5-8500: ...@@ -348,6 +363,7 @@ i5-8500:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i7-2600-clfs: i7-2600-clfs:
...@@ -364,6 +380,7 @@ i7-2600-clfs: ...@@ -364,6 +380,7 @@ i7-2600-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
i7-2600: i7-2600:
...@@ -383,6 +400,7 @@ i7-2600: ...@@ -383,6 +400,7 @@ i7-2600:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-5130-clfs: xeon-5130-clfs:
...@@ -399,6 +417,7 @@ xeon-5130-clfs: ...@@ -399,6 +417,7 @@ xeon-5130-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-5130: xeon-5130:
...@@ -418,6 +437,7 @@ xeon-5130: ...@@ -418,6 +437,7 @@ xeon-5130:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-e5620-clfs: xeon-e5620-clfs:
...@@ -434,6 +454,7 @@ xeon-e5620-clfs: ...@@ -434,6 +454,7 @@ xeon-e5620-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-e5620: xeon-e5620:
...@@ -453,6 +474,7 @@ xeon-e5620: ...@@ -453,6 +474,7 @@ xeon-e5620:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-x5650-clfs: xeon-x5650-clfs:
...@@ -469,6 +491,7 @@ xeon-x5650-clfs: ...@@ -469,6 +491,7 @@ xeon-x5650-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-x5650: xeon-x5650:
...@@ -488,6 +511,7 @@ xeon-x5650: ...@@ -488,6 +511,7 @@ xeon-x5650:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-e3-1271-clfs: xeon-e3-1271-clfs:
...@@ -504,6 +528,7 @@ xeon-e3-1271-clfs: ...@@ -504,6 +528,7 @@ xeon-e3-1271-clfs:
cp -v linux-4.14.36/.config /boot/config-4.14.36 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
$(MAKE) -C ../kmod tests $(MAKE) -C ../kmod tests
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
xeon-e3-1271: xeon-e3-1271:
...@@ -523,4 +548,5 @@ xeon-e3-1271: ...@@ -523,4 +548,5 @@ xeon-e3-1271:
cp -v linux-4.14.36/System.map /boot/System.map-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 cp -v linux-4.14.36/.config /boot/config-4.14.36
ln -svf vmlinuz-4.14.36 /boot/zImage ln -svf vmlinuz-4.14.36 /boot/zImage
rm -rf /kernelconfig
rm -rf linux-4.14.36 rm -rf linux-4.14.36
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