x40

ne10 V 1.2.1

x40
Apr 28th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. # from console for ne10 v 1.2.1
  2.  
  3. downloads https://github.com/projectNe10/Ne10/archive/v1.2.1/ne10-v1.2.1.tar.gz
  4.  
  5. ################################### ne10.hash ########################################
  6. # Locally calculated
  7. sha256 101f9492d7c3f696bd34b43a0b962783a1f045ee9fea9c3f965af31cde12e6cf ne10-v1.2.1.tar.gz
  8.  
  9. but make gives 'ERROR: No hash found for ne10-v1.2.1.tar.gz'
  10.  
  11. ############################################### config.in ######################################
  12. config BR2_PACKAGE_NE10
  13. bool "ne10"
  14. depends on BR2_aarch64 || (BR2_arm && (BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4))
  15. help
  16. The Ne10 project has been set up to provide a set of common,
  17. useful functions which have been heavily optimized for the
  18. ARM Architecture and provide consistent well tested behavior
  19. that can be easily incorporated into applications. C
  20. interfaces to the functions are provided for both assembler
  21. and NEON implementations.
  22.  
  23. http://projectne10.github.io/Ne10/
  24.  
  25. comment "ne10 needs a toolchain w/ neon"
  26. depends on BR2_aarch64 || (BR2_arm && !(BR2_ARM_FPU_NEON || BR2_ARM_FPU_NEON_VFPV4))
  27.  
  28. ################################################################################
  29. #
  30. # ne10
  31. #
  32. ################################################################################
  33.  
  34. NE10_VERSION = v1.2.1
  35. NE10_SITE = $(call github,projectNe10,Ne10,$(NE10_VERSION))
  36. NE10_LICENSE = BSD-3c or Apache-2.0
  37. NE10_LICENSE_FILES = doc/LICENSE
  38. NE10_INSTALL_STAGING = YES
  39.  
  40. NE10_CONF_OPTS = -DGNULINUX_PLATFORM=ON
  41.  
  42. ifeq ($(BR2_STATIC_LIBS),)
  43. NE10_CONF_OPTS += \
  44. -DNE10_BUILD_SHARED=ON
  45. endif
  46.  
  47. ifeq ($(BR2_aarch64),y)
  48. NE10_CONF_OPTS += \
  49. -DNE10_LINUX_TARGET_ARCH=aarch64
  50. endif
  51.  
  52. # The package does not have any install target, so have to provide
  53. # INSTALL_STAGING_CMDS and INSTALL_TARGET_CMDS.
  54.  
  55. ifeq ($(BR2_STATIC_LIBS),)
  56. define NE10_INSTALL_STAGING_SHARED_LIB
  57. cp -dpf $(@D)/modules/libNE10*.so* $(STAGING_DIR)/usr/lib/
  58. endef
  59. endif
  60.  
  61. define NE10_INSTALL_STAGING_CMDS
  62. cp -dpf $(@D)/inc/NE10*h $(STAGING_DIR)/usr/include/
  63. cp -dpf $(@D)/modules/libNE10.a $(STAGING_DIR)/usr/lib/
  64. $(NE10_INSTALL_STAGING_SHARED_LIB)
  65. endef
  66.  
  67.  
  68. define NE10_INSTALL_TARGET_CMDS
  69. cp -dpf $(@D)/modules/libNE10*.so* $(TARGET_DIR)/usr/lib/
  70. endef
  71.  
  72. $(eval $(cmake-package))
Advertisement
Add Comment
Please, Sign In to add comment