xref: /freebsd/sys/tools/fdt/make_dtbh.sh (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
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