Initial Commit
- initial default booting image
This commit is contained in:
22
package/bayer2rgb-neon/Config.in
Normal file
22
package/bayer2rgb-neon/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_arm && BR2_ARM_CPU_HAS_NEON
|
||||
default y if BR2_aarch64
|
||||
|
||||
config BR2_PACKAGE_BAYER2RGB_NEON
|
||||
bool "bayer2rgb-neon"
|
||||
depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
|
||||
help
|
||||
bayer2rgb-neon is a library which allows
|
||||
to decode raw camera bayer to RGB using
|
||||
NEON hardware acceleration.
|
||||
|
||||
https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb
|
||||
|
||||
comment "bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9"
|
||||
depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
3
package/bayer2rgb-neon/bayer2rgb-neon.hash
Normal file
3
package/bayer2rgb-neon/bayer2rgb-neon.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 c7673c16f7f9bf7bd7cb1f258a4ba0cfd705d475f4bd2fb978ffdb60adff57c4 bayer2rgb-neon-bc950b3398ba034fe5cc39f625796a6111cdb87f-git4.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
32
package/bayer2rgb-neon/bayer2rgb-neon.mk
Normal file
32
package/bayer2rgb-neon/bayer2rgb-neon.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# bayer2rgb-neon
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BAYER2RGB_NEON_VERSION = bc950b3398ba034fe5cc39f625796a6111cdb87f
|
||||
BAYER2RGB_NEON_SITE = https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb.git
|
||||
BAYER2RGB_NEON_SITE_METHOD = git
|
||||
BAYER2RGB_NEON_LICENSE = GPL-3.0
|
||||
BAYER2RGB_NEON_LICENSE_FILES = COPYING
|
||||
BAYER2RGB_NEON_INSTALL_STAGING = YES
|
||||
BAYER2RGB_NEON_DEPENDENCIES = host-pkgconf host-gengetopt
|
||||
BAYER2RGB_NEON_AUTORECONF = YES
|
||||
|
||||
BAYER2RGB_NEON_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_arm),y)
|
||||
BAYER2RGB_NEON_CFLAGS += -mfpu=neon
|
||||
endif
|
||||
|
||||
# __builtin_prefetch() third argument must be a constant, but
|
||||
# bayer2rgb-neon uses a variable, derived from a constant, so some
|
||||
# optimization is needed to allow the compiler to turn it into a
|
||||
# constant, otherwise the build fails
|
||||
ifeq ($(BR2_OPTIMIZE_0),y)
|
||||
BAYER2RGB_NEON_CFLAGS += -O1
|
||||
endif
|
||||
|
||||
BAYER2RGB_NEON_CONF_ENV = CFLAGS="$(BAYER2RGB_NEON_CFLAGS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user