Blame view

buildroot/buildroot-2016.08.1/package/ympd/ympd.mk 549 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  ################################################################################
  #
  # ympd
  #
  ################################################################################
  
  YMPD_VERSION = v1.2.3
  YMPD_SITE = $(call github,notandy,ympd,$(YMPD_VERSION))
  YMPD_LICENSE = GPLv2
  YMPD_LICENSE_FILES = LICENSE
  YMPD_DEPENDENCIES = libmpdclient
  
  define YMPD_MAKE_HOST_TOOL
  	$(HOSTCC) $(HOST_CFLAGS) $(@D)/htdocs/mkdata.c -o $(@D)/mkdata
  endef
  
  YMPD_PRE_BUILD_HOOKS += YMPD_MAKE_HOST_TOOL
  
  YMPD_CONF_OPTS += -DMKDATA_EXE=$(@D)/mkdata
  
  $(eval $(cmake-package))