add prefix for yosys for plugin Makefile to find, add yosys-config path to plugin Makefile invocation
This commit is contained in:
parent
cbbb4435b0
commit
d6ee683601
|
@ -232,7 +232,7 @@ add_custom_target(
|
||||||
yosys ALL
|
yosys ALL
|
||||||
COMMAND $(MAKE) config-gcc
|
COMMAND $(MAKE) config-gcc
|
||||||
COMMAND make clean
|
COMMAND make clean
|
||||||
COMMAND $(MAKE)
|
COMMAND $(MAKE) PREFIX=${CMAKE_CURRENT_SOURCE_DIR}/yosys
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys
|
||||||
COMMENT "Compile Yosys with given Makefile"
|
COMMENT "Compile Yosys with given Makefile"
|
||||||
)
|
)
|
||||||
|
@ -241,8 +241,8 @@ add_custom_target(
|
||||||
# yosys-plugins compilation starts
|
# yosys-plugins compilation starts
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
yosys-plugins ALL
|
yosys-plugins ALL
|
||||||
COMMAND $(MAKE) clean YOSYS_PATH=${CMAKE_CURRENT_SOURCE_DIR}/yosys YOSYS_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/yosys
|
COMMAND $(MAKE) clean YOSYS_PATH=${CMAKE_CURRENT_SOURCE_DIR}/yosys YOSYS_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/yosys/yosys-config
|
||||||
COMMAND $(MAKE) install YOSYS_PATH=${CMAKE_CURRENT_SOURCE_DIR}/yosys YOSYS_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/yosys
|
COMMAND $(MAKE) install YOSYS_PATH=${CMAKE_CURRENT_SOURCE_DIR}/yosys YOSYS_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/yosys/yosys-config
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys-plugins
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/yosys-plugins
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/yosys/yosys
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/yosys/yosys
|
||||||
#DEPENDS yosys
|
#DEPENDS yosys
|
||||||
|
|
Loading…
Reference in New Issue