Added qemu toolchain and created zynq ps targets
Signed-off-by: Joppe Blondel <joppe@blondel.nl>
This commit is contained in:
13
examples/zynq7000/SW/devicetree/Makefile
Normal file
13
examples/zynq7000/SW/devicetree/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
.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
|
Reference in New Issue
Block a user