#!/bin/bash

cpp -nostdinc -I include -undef -x assembler-with-cpp "$1" > tmp.dts && \
dtc -O dtb -b 0 -o "${1%.dts}.dtb" tmp.dts
rm -f tmp.dts
