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