mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 10:18:23 +01:00
cddadc1f4b
Experimental feature to include DT overlays and custom boot args
19 lines
491 B
Bash
Executable File
19 lines
491 B
Bash
Executable File
#!/bin/sh
|
|
# helper script to generate sunxi-overlays-builtin.inc
|
|
OFILE="sunxi-overlays-builtin.inc"
|
|
echo "# generated by gen_builtin.sh" > $OFILE
|
|
for famd in $(ls -1d files/*/); do
|
|
fam=${famd##files/}
|
|
fam=${fam%%/}
|
|
echo "SRC_URI:${fam} = \" \\" >> $OFILE
|
|
for f in $(ls ${famd}*.dts); do
|
|
echo "file://$(basename $f) \\" >> $OFILE
|
|
done
|
|
echo "\"" >> $OFILE
|
|
families="$families|$fam"
|
|
done
|
|
|
|
families=${families#|}
|
|
echo "COMPATIBLE_MACHINE = \"(${families})\"" >> $OFILE
|
|
|