diff options
author | Denys Dmytriyenko <denys@ti.com> | 2018-04-24 01:53:50 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-04-24 16:00:50 -0400 |
commit | 268548b2c808afaa7bd9b7404b63f6036d7c5963 (patch) | |
tree | 9e47449560e1f85edd10ac71a5fc67254eca12c4 /recipes-ti/multiprocmgr/multiprocmgr_git.bb | |
parent | 789979a559c2759e5073c444636e7e9d3bd4299b (diff) | |
download | meta-ti-268548b2c808afaa7bd9b7404b63f6036d7c5963.tar.gz |
multiprocmgr: don't hardcode "uapi" kernel location
This way keystone_remoteproc.h can also be found in sysroots, when available.
Otherwise it can fall back to using kernel sources directly.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti/multiprocmgr/multiprocmgr_git.bb')
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr_git.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb index 053a04e5..f37b97e3 100644 --- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb +++ b/recipes-ti/multiprocmgr/multiprocmgr_git.bb | |||
@@ -3,15 +3,18 @@ SUMMARY = "Provides download, debug and other utilities for other cores in the S | |||
3 | 3 | ||
4 | include multiprocmgr.inc | 4 | include multiprocmgr.inc |
5 | 5 | ||
6 | SRC_URI_append = " file://mpmsrv-daemon.service" | 6 | SRC_URI += " \ |
7 | file://mpmsrv-daemon.service \ | ||
8 | file://0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch \ | ||
9 | " | ||
7 | 10 | ||
8 | PR = "${INC_PR}.1" | 11 | PR = "${INC_PR}.2" |
9 | 12 | ||
10 | DEPENDS = "mpm-transport libdaemon virtual/kernel cmem" | 13 | DEPENDS = "mpm-transport libdaemon virtual/kernel cmem" |
11 | 14 | ||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 15 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
13 | 16 | ||
14 | CC += "-I${STAGING_KERNEL_DIR}/include" | 17 | CC += "-I${STAGING_KERNEL_DIR}/include -I${STAGING_KERNEL_DIR}/include/uapi" |
15 | 18 | ||
16 | INITSCRIPT_NAME = "mpmsrv-daemon.sh" | 19 | INITSCRIPT_NAME = "mpmsrv-daemon.sh" |
17 | INITSCRIPT_PARAMS = "defaults 10" | 20 | INITSCRIPT_PARAMS = "defaults 10" |