Blame view

buildroot/buildroot-2016.08.1/package/libsoc/libsoc.mk 713 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  ################################################################################
  #
  # libsoc
  #
  ################################################################################
  
  LIBSOC_VERSION = 0.8.2
  LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
  LIBSOC_LICENSE = LGPLv2.1
  LIBSOC_LICENSE_FILES = LICENCE
  LIBSOC_AUTORECONF = YES
  LIBSOC_INSTALL_STAGING = YES
  
  # Install Python 2 bindings
  ifeq ($(BR2_PACKAGE_PYTHON),y)
  LIBSOC_DEPENDENCIES += python
  LIBSOC_CONF_OPTS += --enable-python=2
  # Install Python 3 bindings
  else ifeq ($(BR2_PACKAGE_PYTHON3),y)
  LIBSOC_DEPENDENCIES += python3
  LIBSOC_CONF_OPTS += --enable-python=3
  else
  LIBSOC_CONF_OPTS += --disable-python
  endif
  
  $(eval $(autotools-package))