aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-17 12:11:15 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-17 12:11:15 +0200
commit973d37673377c3ddba8020e718e4cd6174379175 (patch)
tree882bc607742a3badcf3a8d0dfb6d82be1e057f82
parent4df902637a3b486ab4836ddc2bde7889c6dccfeb (diff)
downloadyosys-973d37673377c3ddba8020e718e4cd6174379175.tar.gz
yosys-973d37673377c3ddba8020e718e4cd6174379175.tar.bz2
yosys-973d37673377c3ddba8020e718e4cd6174379175.zip
Added genfiles.zip to MXE "make dist"
-rw-r--r--Makefile4
-rw-r--r--passes/techmap/Makefile.inc2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a43f378e1..2d80c7027 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ INSTALL_SUDO :=
EXE =
OBJS =
GENFILES =
+EXTRA_OBJS =
EXTRA_TARGETS =
TARGETS = yosys$(EXE) yosys-config
@@ -294,7 +295,7 @@ manual: $(TARGETS) $(EXTRA_TARGETS)
clean:
rm -rf share
cd manual && bash clean.sh
- rm -f $(OBJS) $(GENFILES) $(TARGETS) $(EXTRA_TARGETS)
+ rm -f $(OBJS) $(GENFILES) $(TARGETS) $(EXTRA_TARGETS) $(EXTRA_OBJS)
rm -f kernel/version_*.o kernel/version_*.cc abc/abc-[0-9a-f]*
rm -f libs/*/*.d frontends/*/*.d passes/*/*.d backends/*/*.d kernel/*.d techlibs/*/*.d
@@ -323,6 +324,7 @@ ifeq ($(ENABLE_ABC),1)
endif
echo -en 'This is Yosys $(YOSYS_VER) for Win32.\r\n' > yosys-win32-$(YOSYS_VER)/readme.txt
echo -en 'Documentation at http://www.clifford.at/yosys/.\r\n' >> yosys-win32-$(YOSYS_VER)/readme.txt
+ zip yosys-win32-$(YOSYS_VER)/genfiles.zip $(GENFILES)
zip -r yosys-win32-$(YOSYS_VER).zip yosys-win32-$(YOSYS_VER)/
endif
diff --git a/passes/techmap/Makefile.inc b/passes/techmap/Makefile.inc
index 9152ff22d..56083ed2b 100644
--- a/passes/techmap/Makefile.inc
+++ b/passes/techmap/Makefile.inc
@@ -24,7 +24,7 @@ passes/techmap/techmap.inc: techlibs/common/techmap.v
passes/techmap/techmap.o: passes/techmap/techmap.inc
TARGETS += yosys-filterlib$(EXE)
-GENFILES += passes/techmap/filterlib.o
+EXTRA_OBJS += passes/techmap/filterlib.o
yosys-filterlib$(EXE): passes/techmap/filterlib.o
$(P) $(CXX) -o yosys-filterlib$(EXE) $(LDFLAGS) $^ $(LDLIBS)