mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-kernel: Use ZEPHYR_BASE in all application recipes
Change ${S} -> ${ZEPHYR_BASE} in all application recipes, as Zephyr
might not always be found at the root of the source directory.
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
72a5585205
commit
e6cef8658b
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/basic/blinky"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/basic/blinky"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/coap_client"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/coap_client"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/coap_server"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/coap_server"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/echo_client"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/echo_client"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/hci_uart"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/bluetooth/hci_uart"
|
||||
|
||||
COMPATIBLE_MACHINE = "(96b-nitrogen)"
|
||||
|
||||
@@ -4,4 +4,4 @@ console"
|
||||
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/hello_world"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/hello_world"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/http_client"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/http_client"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ inherit testimage
|
||||
|
||||
QEMU_BIN_PATH = "${STAGING_BINDIR_NATIVE}"
|
||||
|
||||
OECMAKE_SOURCEPATH = "${S}/${ZEPHYR_SRC_DIR}"
|
||||
OECMAKE_SOURCEPATH = "${ZEPHYR_BASE}/${ZEPHYR_SRC_DIR}"
|
||||
|
||||
addtask deploy after do_compile
|
||||
do_install[noexec] = "1"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/subsys/display/lvgl"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/subsys/display/lvgl"
|
||||
|
||||
# TODO Once more machines and displays are supported, add a PACKAGECONFIG.
|
||||
EXTRA_OECMAKE:append =" -DSHIELD=adafruit_2_8_tft_touch_v2"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/mqtt_publisher"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/mqtt_publisher"
|
||||
|
||||
@@ -5,6 +5,6 @@ ZEPHYR_MAKE_OUTPUT = "zephyr_openamp_rsc_table.elf"
|
||||
ZEPHYR_MAKE_BIN_OUTPUT = "zephyr_openamp_rsc_table.bin"
|
||||
ZEPHYR_MAKE_EFI_OUTPUT = "zephyr_openamp_rsc_table.efi"
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/subsys/ipc/openamp_rsc_table"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/subsys/ipc/openamp_rsc_table"
|
||||
|
||||
COMPATIBLE_MACHINE = "(stm32mp157c-dk2)"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/echo_client"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/echo_client"
|
||||
|
||||
EXTRA_OECMAKE += "-DOVERLAY_CONFIG=overlay-ot.conf"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/openthread/coprocessor"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/openthread/coprocessor"
|
||||
|
||||
EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf" -DDTC_OVERLAY_FILE="usb.overlay" -DCONFIG_OPENTHREAD_THREAD_VERSION_1_2=y"
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/peripheral_esp"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/bluetooth/peripheral_esp"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/bluetooth/peripheral_hr"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/bluetooth/peripheral_hr"
|
||||
|
||||
@@ -5,4 +5,4 @@ operate correctly by printing a greeting to the console from two threads."
|
||||
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/philosophers"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/philosophers"
|
||||
|
||||
@@ -5,4 +5,4 @@ operate correctly by printing a greeting to the console from two threads."
|
||||
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/synchronization"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/synchronization"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include zephyr-sample.inc
|
||||
|
||||
ZEPHYR_SRC_DIR = "${S}/samples/net/sockets/websocket_client"
|
||||
ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/samples/net/sockets/websocket_client"
|
||||
|
||||
Reference in New Issue
Block a user