Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # from console for ne10 v 1.2.1
- downloads https://github.com/projectNe10/Ne10/archive/v1.2.1/ne10-v1.2.1.tar.gz
- ################################### ne10.hash ########################################
- # Locally calculated
- sha256 101f9492d7c3f696bd34b43a0b962783a1f045ee9fea9c3f965af31cde12e6cf ne10-v1.2.1.tar.gz
- but make gives 'ERROR: No hash found for ne10-v1.2.1.tar.gz'
- ############################################### config.in ######################################
- config BR2_PACKAGE_NE10
- bool "ne10"
- depends on BR2_aarch64 || (BR2_arm && (BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4))
- help
- The Ne10 project has been set up to provide a set of common,
- useful functions which have been heavily optimized for the
- ARM Architecture and provide consistent well tested behavior
- that can be easily incorporated into applications. C
- interfaces to the functions are provided for both assembler
- and NEON implementations.
- http://projectne10.github.io/Ne10/
- comment "ne10 needs a toolchain w/ neon"
- depends on BR2_aarch64 || (BR2_arm && !(BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4))
- ################################################################################
- #
- # ne10
- #
- ################################################################################
- NE10_VERSION = v1.2.1
- NE10_SITE = $(call github,projectNe10,Ne10,$(NE10_VERSION))
- NE10_LICENSE = BSD-3c or Apache-2.0
- NE10_LICENSE_FILES = doc/LICENSE
- NE10_INSTALL_STAGING = YES
- NE10_CONF_OPTS = -DGNULINUX_PLATFORM=ON
- ifeq ($(BR2_STATIC_LIBS),)
- NE10_CONF_OPTS += \
- -DNE10_BUILD_SHARED=ON
- endif
- ifeq ($(BR2_aarch64),y)
- NE10_CONF_OPTS += \
- -DNE10_LINUX_TARGET_ARCH=aarch64
- endif
- # The package does not have any install target, so have to provide
- # INSTALL_STAGING_CMDS and INSTALL_TARGET_CMDS.
- ifeq ($(BR2_STATIC_LIBS),)
- define NE10_INSTALL_STAGING_SHARED_LIB
- cp -dpf $(@D)/modules/libNE10*.so* $(STAGING_DIR)/usr/lib/
- endef
- endif
- define NE10_INSTALL_STAGING_CMDS
- cp -dpf $(@D)/inc/NE10*h $(STAGING_DIR)/usr/include/
- cp -dpf $(@D)/modules/libNE10.a $(STAGING_DIR)/usr/lib/
- $(NE10_INSTALL_STAGING_SHARED_LIB)
- endef
- define NE10_INSTALL_TARGET_CMDS
- cp -dpf $(@D)/modules/libNE10*.so* $(TARGET_DIR)/usr/lib/
- endef
- $(eval $(cmake-package))
Advertisement
Add Comment
Please, Sign In to add comment