freebsd-dev/sys/tools/fdt/make_dtbh.sh
Warner Losh 031beb4e23 sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:54:58 -06:00

8 lines
169 B
Bash
Executable File

#!/bin/sh
#
# 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