Blame view

buildroot/buildroot-2016.08.1/package/jq/jq.mk 696 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  ################################################################################
  #
  # jq
  #
  ################################################################################
  
  JQ_VERSION = 1.5
  JQ_SITE = https://github.com/stedolan/jq/releases/download/jq-$(JQ_VERSION)
  JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
  JQ_LICENSE_FILES = COPYING
  
  # uses c99 specific features
  JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
  HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99"
  
  # jq explicitly enables maintainer mode, which we don't need/want
  JQ_CONF_OPTS += --disable-maintainer-mode
  HOST_JQ_CONF_OPTS += --disable-maintainer-mode
  
  $(eval $(autotools-package))
  $(eval $(host-autotools-package))