1 ################################################################################
5 ################################################################################
8 NE10_SITE
= $(call github
,projectNe10
,Ne10
,$(NE10_VERSION
))
9 NE10_LICENSE
= BSD-3c or Apache-2.0
10 NE10_LICENSE_FILES
= doc
/LICENSE
11 NE10_INSTALL_STAGING
= YES
13 NE10_CONF_OPTS
= -DGNULINUX_PLATFORM
=ON
15 ifeq ($(BR2_STATIC_LIBS
),)
17 -DNE10_BUILD_SHARED
=ON
20 # The package does not have any install target, so have to provide
21 # INSTALL_STAGING_CMDS and INSTALL_TARGET_CMDS.
23 ifeq ($(BR2_STATIC_LIBS
),)
24 define NE10_INSTALL_STAGING_SHARED_LIB
25 cp
-dpf
$(@D
)/modules
/libNE10
*.so
* $(STAGING_DIR
)/usr
/lib
/
29 define NE10_INSTALL_STAGING_CMDS
30 cp
-dpf
$(@D
)/inc
/NE10
*h
$(STAGING_DIR
)/usr
/include/
31 cp
-dpf
$(@D
)/modules
/libNE10.a
$(STAGING_DIR
)/usr
/lib
/
32 $(NE10_INSTALL_STAGING_SHARED_LIB
)
36 define NE10_INSTALL_TARGET_CMDS
37 cp
-dpf
$(@D
)/modules
/libNE10
*.so
* $(TARGET_DIR
)/usr
/lib
/
40 $(eval
$(cmake-package
))