forked from Seeed-Studio/reCamera-OS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77c9e61
commit ce8e3f9
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
config BR2_PACKAGE_OPENHD | ||
bool "openhd" | ||
select BR2_PACKAGE_LIBPCAP | ||
select BR2_PACKAGE_POCO | ||
select BR2_PACKAGE_LIBSODIUM | ||
select BR2_PACKAGE_GSTREAMER1 | ||
select BR2_PACKAGE_GST1_PLUGINS_BASE | ||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP | ||
depends on BR2_PACKAGE_POCO_VERSION_1_13_2 | ||
help | ||
OpenHD package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
################################################################################ | ||
# | ||
# OpenHD | ||
# | ||
################################################################################ | ||
|
||
# The Git repository from which to clone the source code | ||
OPENHD_SITE = https://github.com/openhd/OpenHD.git | ||
OPENHD_SITE_METHOD = git | ||
OPENHD_GIT_SUBMODULES = YES | ||
|
||
# Set the version to the latest commit of the default branch | ||
OPENHD_VERSION = 2.6-evo | ||
|
||
# Enable Git submodules if the project requires them | ||
OPENHD_GIT_SUBMODULES = YES | ||
|
||
# Subdirectory inside the Git repo, if needed (if OpenHD is not in the root) | ||
OPENHD_SUBDIR = OpenHD | ||
|
||
# Install to both the staging directory and target, for linking and runtime | ||
OPENHD_INSTALL_STAGING = YES | ||
OPENHD_INSTALL_TARGET = YES | ||
|
||
# List of dependencies that must be built before OpenHD | ||
OPENHD_DEPENDENCIES = poco libsodium gstreamer1 gst1-plugins-base libpcap host-pkgconf | ||
|
||
# Additional configuration options for the CMake build | ||
OPENHD_CONF_OPTS = \ | ||
-DENABLE_USB_CAMERAS=OFF \ | ||
-DCMAKE_TOOLCHAIN_FILE=$(BR2_TOOLCHAIN_FILE) \ | ||
-DCMAKE_SYSROOT=$(STAGING_DIR) \ | ||
-DCMAKE_PREFIX_PATH=$(STAGING_DIR)/usr \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=/usr | ||
|
||
# Use Buildroot's CMake package infrastructure to handle the build | ||
$(eval $(cmake-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters