mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #5468 from YosysHQ/pyosys_outof
Fix generatory.py location for out of tree builds
This commit is contained in:
commit
5b2252ffd8
2
Makefile
2
Makefile
|
|
@ -366,7 +366,7 @@ CXXFLAGS += -I$(PYBIND11_INCLUDE) -DYOSYS_ENABLE_PYTHON
|
||||||
CXXFLAGS += $(shell $(PYTHON_CONFIG) --includes) -DYOSYS_ENABLE_PYTHON
|
CXXFLAGS += $(shell $(PYTHON_CONFIG) --includes) -DYOSYS_ENABLE_PYTHON
|
||||||
|
|
||||||
OBJS += $(PY_WRAPPER_FILE).o
|
OBJS += $(PY_WRAPPER_FILE).o
|
||||||
PY_GEN_SCRIPT = pyosys/generator.py
|
PY_GEN_SCRIPT = $(YOSYS_SRC)/pyosys/generator.py
|
||||||
PY_WRAP_INCLUDES := $(shell $(UV_ENV) $(PYTHON_EXECUTABLE) $(PY_GEN_SCRIPT) --print-includes)
|
PY_WRAP_INCLUDES := $(shell $(UV_ENV) $(PYTHON_EXECUTABLE) $(PY_GEN_SCRIPT) --print-includes)
|
||||||
endif # ENABLE_PYOSYS
|
endif # ENABLE_PYOSYS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue