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