projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f65e1c3
)
Check for _YOSYS_ in yosys.h
author
Clifford Wolf
<clifford@clifford.at>
Tue, 14 Oct 2014 23:18:31 +0000
(
01:18
+0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 14 Oct 2014 23:18:31 +0000
(
01:18
+0200)
kernel/yosys.h
patch
|
blob
|
history
diff --git
a/kernel/yosys.h
b/kernel/yosys.h
index 83230cbfbf3ed770e5e7c58d43e7b38338637869..239146d776efefc498007af1929827629ad1eb74 100644
(file)
--- a/
kernel/yosys.h
+++ b/
kernel/yosys.h
@@
-58,6
+58,12
@@
#include <string.h>
#include <stdio.h>
+#ifndef _YOSYS_
+# error It looks like you are trying to build Yosys with the config defines set. \
+ When building Yosys with a custom make system, make sure you set all the \
+ defines the Yosys Makefile would set for your build configuration.
+#endif
+
#ifdef YOSYS_ENABLE_TCL
# include <tcl.h>
#endif