diff options
author | raj <raj@FreeBSD.org> | 2010-06-02 17:22:38 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2010-06-02 17:22:38 +0000 |
commit | b640c371d6bd20c9b8a60c0a3f7f825dff193d86 (patch) | |
tree | f9ab9329b857efab975216c3daaf0965df657ca8 /sys/tools/fdt/make_dtbh.sh | |
parent | f55f4f1d8f5976e7c4ed0b386ba6e6e524292d76 (diff) | |
download | FreeBSD-src-b640c371d6bd20c9b8a60c0a3f7f825dff193d86.zip FreeBSD-src-b640c371d6bd20c9b8a60c0a3f7f825dff193d86.tar.gz |
Flattened Device Tree helper scripts.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/tools/fdt/make_dtbh.sh')
-rwxr-xr-x | sys/tools/fdt/make_dtbh.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/tools/fdt/make_dtbh.sh b/sys/tools/fdt/make_dtbh.sh new file mode 100755 index 0000000..c2d41b6 --- /dev/null +++ b/sys/tools/fdt/make_dtbh.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# $FreeBSD$ + +# Script generates a $2/fdt_static_dtb.h file. + +dtb_base_name=`basename $1 .dts` +echo '#define FDT_DTB_FILE "'${dtb_base_name}.dtb'"' > $2/fdt_static_dtb.h |