Skip to content

Commit

Permalink
fix build for base targets
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Sep 11, 2015
1 parent 70f8e1e commit 3cfac03
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Expand Up @@ -36,7 +36,13 @@ help:
@echo " PROG=programmer (current: $(PROG))"
@echo " SERIAL=serial port (current: $(SERIAL))"

gateware: lm32-firmware
ifeq ($(TARGET), base)
GATEWARE_DEP =
else
GATEWARE_DEP = lm32-firmware
endif

gateware: $(GATEWARE_DEP)
cd $(MSCDIR) && $(CMD) --csr_csv $(HDMI2USBDIR)/test/csr.csv clean
cp hdl/encoder/vhdl/header.hex $(MSCDIR)/build/header.hex
cd $(MSCDIR) && $(CMD) --csr_csv $(HDMI2USBDIR)/test/csr.csv build-csr-csv build-bitstream
Expand Down

0 comments on commit 3cfac03

Please sign in to comment.