xref: /freebsd/sys/tools/fdt/make_dtbh.sh (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1#!/bin/sh
2#
3
4# Script generates a $2/fdt_static_dtb.h file.
5
6dtb_base_name=`basename $1 .dts`
7echo '#define FDT_DTB_FILE "'${dtb_base_name}.dtb'"' > $2/fdt_static_dtb.h
8