The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ne10 / ne10.mk
1 ################################################################################
2 #
3 # ne10
4 #
5 ################################################################################
6
7 NE10_VERSION = v1.2.0
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
12
13 NE10_CONF_OPTS = -DGNULINUX_PLATFORM=ON
14
15 ifeq ($(BR2_STATIC_LIBS),)
16 NE10_CONF_OPTS += \
17         -DNE10_BUILD_SHARED=ON
18 endif
19
20 # The package does not have any install target, so have to provide
21 # INSTALL_STAGING_CMDS and INSTALL_TARGET_CMDS.
22
23 ifeq ($(BR2_STATIC_LIBS),)
24 define NE10_INSTALL_STAGING_SHARED_LIB
25         cp -dpf $(@D)/modules/libNE10*.so* $(STAGING_DIR)/usr/lib/
26 endef
27 endif
28
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)
33 endef
34
35
36 define NE10_INSTALL_TARGET_CMDS
37         cp -dpf $(@D)/modules/libNE10*.so* $(TARGET_DIR)/usr/lib/
38 endef
39
40 $(eval $(cmake-package))