Files
remotesyn/examples/zynq7000/SW/devicetree/Makefile
2022-09-09 13:54:55 +02:00

13 lines
321 B
Makefile

.SILENT:
TARGET := system.dtb
BUILDROOT ?= $(shell pwd)
BUILDDIR := build
.PHONY: $(TARGET) all clean
all: $(TARGET)
$(TARGET):
gcc -I $(BUILDROOT) -I $(BUILDROOT)/include -E -nostdinc -undef -D__DTS__ -x assembler-with-cpp -o system.dts $(BUILDROOT)/system-top.dts
dtc -I dts -O dtb -o system.dtb system.dts