forked from aloksinha2001/Linux3188
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake_kernel_ruikemei.sh
More file actions
executable file
·32 lines (26 loc) · 997 Bytes
/
make_kernel_ruikemei.sh
File metadata and controls
executable file
·32 lines (26 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
set -e
KEHU_FILE=kehu_ruikemei
echo "*************"
echo "rm logo_linux_clut224"
echo "*************"
find drivers/video/logo/ -name logo_linux_clut224.o -exec rm -f {} \;
find drivers/video/logo/ -name logo_linux_clut224.c -exec rm -f {} \;
find drivers/video/logo/ -name logo_linux_clut224.ppm -exec rm -f {} \;
echo "***********************"
echo "copy logo_linux_clut224.ppm"
echo "***********************"
cp $KEHU_FILE/logo_linux_clut224.ppm drivers/video/logo/
echo "***********************"
echo "make kernel.img"
echo "***********************"
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- kernel.img -j8
# make kernel.img -j8
#sz kernel.img
echo "***********************"
echo "return origin files"
echo "***********************"
find drivers/video/logo/ -name logo_linux_clut224.o -exec rm -f {} \;
find drivers/video/logo/ -name logo_linux_clut224.c -exec rm -f {} \;
git checkout -- drivers/video/logo/logo_linux_clut224.ppm
echo "return origin files success!!!"