Blame view

buildroot/buildroot-2016.08.1/package/tzdump/tzdump.mk 625 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  ################################################################################
  #
  # tzdump
  #
  ################################################################################
  
  TZDUMP_VERSION = 65a10105564801094b18c3fcacf4dde4c44e4ab8
  TZDUMP_SITE = $(call github,alexandrebelloni,tzdump,$(TZDUMP_VERSION))
  HOST_TZDUMP_DEPENDENCIES = host-zic
  
  define HOST_TZDUMP_BUILD_CMDS
  	cd $(@D) && $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o tzdump tzdump.c
  endef
  
  define HOST_TZDUMP_INSTALL_CMDS
  	$(INSTALL) -m 0755 -D $(@D)/tzdump $(HOST_DIR)/usr/sbin/tzdump
  endef
  
  $(eval $(host-generic-package))
  
  TZDUMP = $(HOST_DIR)/usr/sbin/tzdump