Makefile fix for YosysJS build
authorClifford Wolf <clifford@clifford.at>
Thu, 11 Jun 2015 13:48:40 +0000 (15:48 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 11 Jun 2015 13:48:40 +0000 (15:48 +0200)
Makefile

index c7626c70d3bef10efb2e129bf250d499da38103b..3c1344180f39c1b5369721f5e0dbd5a32774105b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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)