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