Commit 1c0c8e5a authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Removed circular dependencies between xil-config and xil

parent a8645f82
......@@ -10,6 +10,11 @@ project(
LANGUAGES C ASM
)
find_package(
xil-headers 6.8
REQUIRED
)
find_package(
xil-config-headers 0.1
REQUIRED
......@@ -26,8 +31,8 @@ add_library(
target_link_libraries(
xil-config
#
PUBLIC xil-headers
PUBLIC xil-config-headers
PRIVATE xil
)
......
......@@ -9,11 +9,6 @@ project(
LANGUAGES C ASM
)
find_package(
xil-headers 6.8
REQUIRED
)
add_library(
xil-config-headers
......@@ -34,12 +29,6 @@ target_compile_definitions(
INTERFACE XIL_ARCH=arm_ca53
)
target_link_libraries(
xil-config-headers
#
INTERFACE xil-headers
)
if (ENABLE_INSTALL)
# Configure and install the following files:
......
......@@ -28,8 +28,6 @@
/* Definition for PSS REF CLK FREQUENCY */
#define XPAR_PSU_PSS_REF_CLK_FREQ_HZ 33333000U
#include "xil/xparameters_ps.h"
#define STDIN_BASEADDRESS XPAR_PSU_UART_0_BASEADDR
#define STDOUT_BASEADDRESS XPAR_PSU_UART_0_BASEADDR
......
......@@ -3,6 +3,7 @@
include(CMakeFindDependencyMacro)
find_dependency(xil-headers)
find_dependency(xil-config-headers)
# Import targets
include(${CMAKE_CURRENT_LIST_DIR}/xil-config-targets.cmake)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment