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 / lz4 / lz4.mk
1 ################################################################################
2 #
3 # lz4
4 #
5 ################################################################################
6
7 LZ4_VERSION = r123
8 LZ4_SITE = $(call github,Cyan4973,lz4,$(LZ4_VERSION))
9 LZ4_INSTALL_STAGING = YES
10 LZ4_LICENSE = BSD-2c
11 LZ4_LICENSE_FILES = LICENSE
12
13 ifeq ($(BR2_STATIC_LIBS),y)
14 define LZ4_DISABLE_SHARED
15         $(SED) '/SHARED/d' $(@D)/Makefile
16 endef
17 LZ4_POST_PATCH_HOOKS += LZ4_DISABLE_SHARED
18 endif
19
20 define HOST_LZ4_BUILD_CMDS
21         $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
22 endef
23
24 define HOST_LZ4_INSTALL_CMDS
25         $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) install DESTDIR=$(HOST_DIR)
26 endef
27
28 define LZ4_BUILD_CMDS
29         $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) liblz4
30 endef
31
32 define LZ4_INSTALL_STAGING_CMDS
33         $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) install DESTDIR=$(STAGING_DIR)
34 endef
35
36 define LZ4_INSTALL_TARGET_CMDS
37         $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) install DESTDIR=$(TARGET_DIR)
38 endef
39
40 $(eval $(generic-package))
41 $(eval $(host-generic-package))