blob: a56bfdee62824caa2279197555f9195d07062c76 (
plain)
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
|
#!/bin/sh
BR="$1"
echo "root=/dev/mmcblk0p2 rootwait console=ttyAMA0,115200" >"$BR/package/rpi-firmware/cmdline.txt"
cat > "$BR/package/rpi-firmware/config.txt" <<EOF
start_file=start.elf
fixup_file=fixup.dat
kernel=zImage
gpu_mem_256=0
gpu_mem_512=0
gpu_mem_1024=0
EOF
usrbin="$BR/board/raspberrypi0/rootfs_overlay/usr/bin/"
if [ ! -d "$usrbin" ]; then
mkdir -p "$usrbin"
fi
cp buildroot-config "$BR/.config"
cp ctaklm "$usrbin/"
cp ct1986 "$usrbin/"
cd "$BR"
make
|