Initial Commit
- initial default booting image
This commit is contained in:
32
package/libvpl/0001-Don-t-force-fstack-protector.patch
Normal file
32
package/libvpl/0001-Don-t-force-fstack-protector.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
From 682a9eabc71c2e33ebbbba2e75d0ba7caa08c7c8 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Mon, 8 May 2023 20:03:22 +0200
|
||||
Subject: [PATCH] Don't force -fstack-protector
|
||||
|
||||
This allows the environment to decide whether SSP should be used or
|
||||
not, for example to support toolchains that don't have SSP support.
|
||||
|
||||
Upstream: Not applicable
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
cmake/CompileOptions.cmake | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/cmake/CompileOptions.cmake b/cmake/CompileOptions.cmake
|
||||
index 9923f1c..5b24622 100644
|
||||
--- a/cmake/CompileOptions.cmake
|
||||
+++ b/cmake/CompileOptions.cmake
|
||||
@@ -54,9 +54,6 @@ else()
|
||||
add_definitions("-D_FORTIFY_SOURCE=2")
|
||||
endif()
|
||||
endif()
|
||||
- if(NOT MINGW)
|
||||
- add_compile_options("-fstack-protector-strong")
|
||||
- endif()
|
||||
if(NOT MINGW)
|
||||
add_link_options("-Wl,-z,relro,-z,now,-z,noexecstack")
|
||||
endif()
|
||||
--
|
||||
2.39.2
|
||||
|
||||
22
package/libvpl/Config.in
Normal file
22
package/libvpl/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_ARCH_IS_64 && !BR2_mips64 && !BR2_mips64el
|
||||
default y if BR2_arm
|
||||
|
||||
config BR2_PACKAGE_LIBVPL
|
||||
bool "libvpl"
|
||||
depends on BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
oneAPI Video Processing Library (oneVPL) dispatcher,
|
||||
tools, and examples
|
||||
|
||||
https://github.com/oneapi-src/oneVPL
|
||||
|
||||
comment "libvpl needs a toolchain w/ dynamic library, gcc >= 7, C++, threads"
|
||||
depends on BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/libvpl/libvpl.hash
Normal file
3
package/libvpl/libvpl.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 4de3e2faf1e8307fb282e4a43f443191810f6a6b0a484fffa7995ba1c814c6ec libvpl-2.17.0.tar.gz
|
||||
sha256 bf1cfac2e2792b6e1e995ce103d70796aecaf2ec7e4c5fe5474f7acec7b4a677 LICENSE
|
||||
18
package/libvpl/libvpl.mk
Normal file
18
package/libvpl/libvpl.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# libvpl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBVPL_VERSION = 2.17.0
|
||||
LIBVPL_SITE = $(call github,intel,libvpl,v$(LIBVPL_VERSION))
|
||||
LIBVPL_LICENSE = MIT
|
||||
LIBVPL_LICENSE_FILES = LICENSE
|
||||
LIBVPL_INSTALL_STAGING = YES
|
||||
LIBVPL_DEPENDENCIES = host-pkgconf
|
||||
|
||||
LIBVPL_CONF_OPTS = \
|
||||
-DBUILD_TOOLS=OFF \
|
||||
-DINSTALL_EXAMPLES=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user