]> rtime.felk.cvut.cz Git - zynq/linux-build.git/blob - build/xlnx_4.9/Makefile
Create empty file if no FPGA bitstream is provided
[zynq/linux-build.git] / build / xlnx_4.9 / Makefile
1 all: image.ub
2
3 microzed.dtb: microzed.dts linux/source/arch/arm/boot/dts/zynq-7000.dtsi
4         dtc -I dts -O dtb -o $@ $<
5
6 image.ub: uboot-image.its linux/arch/arm/boot/zImage microzed.dtb ../buildroot/images/rootfs.cpio ../../fs-overlay/fpga.bit
7         mkimage -f uboot-image.its image.ub
8
9 linux/arch/arm/boot/zImage linux/source/arch/arm/boot/dts/zynq-7000.dtsi:
10         $(MAKE) -C linux
11
12 # Create empty file if no FPGA bitstream is provided
13 ../../fs-overlay/fpga.bit:
14         mkdir -p $(@D)
15         touch $@