- kernel/register.h, kernel/driver.cc: refactor rewrite_yosys_exe()/get_share_file_n...
authorSiesh1oo <siesh1oo@siesh1oo.no>
Wed, 12 Mar 2014 17:33:37 +0000 (18:33 +0100)
committerSiesh1oo <siesh1oo@siesh1oo.no>
Thu, 13 Mar 2014 10:29:11 +0000 (11:29 +0100)
        This refactoring improves robustness and allows OSX support with only 7 new lines of code, and easy extension for other systems.
 - passes/abc/abc.cc, passes/cmds/show.cc, passes/techmap/techmap.cc: use new, refactored semantics.
 - Makefile: no need to add $(PWD) to $(PATH) anymore.

Makefile

index 1eef767b33f3c4cfdb37155df7c457b59e4ae886..035f7c5a487fe731334802eb0974565bce60e819 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,6 @@ CXXFLAGS = -Wall -Wextra -ggdb -I"$(shell pwd)" -I${DESTDIR}/include -MD -D_YOSY
 LDFLAGS = -L${DESTDIR}/lib
 LDLIBS = -lstdc++ -lreadline -lm -ldl
 
-export PATH := $(PWD):$(DESTDIR)/bin:$(PATH)
-
 ifeq (Darwin,$(findstring Darwin,$(shell uname)))
        # add macports include and library path to search directories, don't use '-rdynamic' and '-lrt':
        CXXFLAGS += -I/opt/local/include