tests: do not get ZEPHYR_BASE from ENV

find_package() already deals with finding ZEPHYR_BASE, so do not rely on
it being set in ENV, use the variable directly adter find_package() was
called.

Fixes #75387

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-07-11 06:40:33 -04:00
commit 83bd3658c3
5 changed files with 5 additions and 5 deletions

View file

@ -24,5 +24,5 @@ zephyr_include_directories(
$ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
$ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
$ENV{ZEPHYR_BASE}/subsys/bluetooth/host/
${ZEPHYR_BASE}/subsys/bluetooth/host/
)

View file

@ -24,5 +24,5 @@ zephyr_include_directories(
$ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/
$ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/
$ENV{ZEPHYR_BASE}/subsys/bluetooth/host/
${ZEPHYR_BASE}/subsys/bluetooth/host/
)

View file

@ -10,4 +10,4 @@ target_sources(app PRIVATE ${app_sources})
# Include the INA23x driver path and unit-test path for private header inclusion
zephyr_include_directories(./src)
zephyr_include_directories($ENV{ZEPHYR_BASE}/drivers/sensor/ti/ina23x)
zephyr_include_directories(${ZEPHYR_BASE}/drivers/sensor/ti/ina23x)

View file

@ -10,4 +10,4 @@ target_sources(app PRIVATE ${app_sources})
# Include the INA23x driver path and unit-test path for private header inclusion
zephyr_include_directories(./src)
zephyr_include_directories($ENV{ZEPHYR_BASE}/drivers/sensor/ti/ina23x)
zephyr_include_directories(${ZEPHYR_BASE}/drivers/sensor/ti/ina23x)

View file

@ -6,4 +6,4 @@ project(llext_edk_test LANGUAGES C)
target_sources(app PRIVATE src/main.c)
zephyr_include_directories(include)
zephyr_include_directories($ENV{ZEPHYR_BASE}/boards/native/common)
zephyr_include_directories(${ZEPHYR_BASE}/boards/native/common)