Added qemu toolchain and created zynq ps targets

Signed-off-by: Joppe Blondel <joppe@blondel.nl>
This commit is contained in:
2022-09-09 13:54:55 +02:00
parent 15d7e8b801
commit e18a0c1762
18 changed files with 1394 additions and 36 deletions

View 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