|
3 | 3 | # OpenHD
|
4 | 4 | #
|
5 | 5 | ################################################################################
|
6 |
| - |
7 |
| -# The Git repository from which to clone the source code |
8 |
| -OPENHD_SITE = https://github.com/openhd/OpenHD.git |
| 6 | +OPENHD_SITE = https://github.com/OpenHD/OpenHD |
9 | 7 | OPENHD_SITE_METHOD = git
|
10 | 8 | OPENHD_GIT_SUBMODULES = YES
|
11 |
| - |
12 |
| -# Set the version to the latest commit of the default branch |
13 |
| -OPENHD_VERSION = 2.6-evo |
14 |
| - |
15 |
| -# Enable Git submodules if the project requires them |
16 |
| -OPENHD_GIT_SUBMODULES = YES |
17 |
| - |
18 |
| -# Subdirectory inside the Git repo, if needed (if OpenHD is not in the root) |
| 9 | +OPENHD_VERSION = {{VERSION}} |
19 | 10 | OPENHD_SUBDIR = OpenHD
|
20 | 11 |
|
21 |
| -# Install to both the staging directory and target, for linking and runtime |
22 |
| -OPENHD_INSTALL_STAGING = YES |
| 12 | +OPENHD_INSTALL_STAGING = NO |
23 | 13 | OPENHD_INSTALL_TARGET = YES
|
24 | 14 |
|
25 |
| -# List of dependencies that must be built before OpenHD |
26 |
| -OPENHD_DEPENDENCIES = poco libsodium gstreamer1 gst1-plugins-base libpcap host-pkgconf |
27 |
| - |
28 |
| -# Additional configuration options for the CMake build |
29 |
| -OPENHD_CONF_OPTS = \ |
30 |
| - -DENABLE_USB_CAMERAS=OFF \ |
31 |
| - -DCMAKE_TOOLCHAIN_FILE=$(BR2_TOOLCHAIN_FILE) \ |
32 |
| - -DCMAKE_SYSROOT=$(STAGING_DIR) \ |
33 |
| - -DCMAKE_PREFIX_PATH=$(STAGING_DIR)/usr \ |
34 |
| - -DCMAKE_BUILD_TYPE=Release \ |
35 |
| - -DCMAKE_INSTALL_PREFIX=/usr |
36 |
| - |
37 |
| -# Use Buildroot's CMake package infrastructure to handle the build |
| 15 | +OPENHD_CONF_OPTS = -DENABLE_USB_CAMERAS=OFF |
| 16 | +OPENHD_DEPENDENCIES = libsodium gstreamer1 gst1-plugins-base libpcap host-pkgconf |
38 | 17 | $(eval $(cmake-package))
|
| 18 | + |
0 commit comments