Makefile fix for YosysJS build

This commit is contained in:
Clifford Wolf 2015-06-11 15:48:40 +02:00
parent 4c733301e6
commit 285f140f60
1 changed files with 4 additions and 0 deletions

View File

@ -281,6 +281,10 @@ top-all: $(TARGETS) $(EXTRA_TARGETS)
@echo " Build successful."
@echo ""
ifeq ($(CONFIG),emcc)
yosys.js: $(filter-out yosysjs-$(YOSYS_VER).zip,$(EXTRA_TARGETS))
endif
yosys$(EXE): $(OBJS)
$(P) $(CXX) -o yosys$(EXE) $(LDFLAGS) $(OBJS) $(LDLIBS)