Skip to content

Commit

Permalink
FPGA: fpga2 was not part of Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Iztok Jeras committed Mar 1, 2016
1 parent 5783727 commit b00e55e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,14 @@ zip: $(TARGET)
# FPGA build provides: $(FSBL), $(FPGA), $(DEVICETREE).
################################################################################

.PHONY: fpga
.PHONY: fpga fpga2

fpga: $(DTREE_DIR)
make -C $(FPGA_DIR)

fpga2: $(DTREE_DIR)
make -C $(FPGA2_DIR)

################################################################################
# U-Boot build provides: $(UBOOT)
################################################################################
Expand Down Expand Up @@ -253,7 +256,7 @@ $(DTREE_DIR): $(DTREE_TAR)
mkdir -p $@
tar -zxf $< --strip-components=1 --directory=$@

$(DEVICETREE): $(DTREE_DIR) $(LINUX) fpga
$(DEVICETREE): $(DTREE_DIR) $(LINUX) fpga2
cp $(DTS) $(TMP)/devicetree.dts
patch $(TMP)/devicetree.dts patches/devicetree.patch
$(LINUX_DIR)/scripts/dtc/dtc -I dts -O dtb -o $(DEVICETREE) -i $(FPGA2_DIR)/sdk/dts/ $(TMP)/devicetree.dts
Expand Down

0 comments on commit b00e55e

Please sign in to comment.