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