Blame view

buildroot/buildroot-2016.08.1/package/zlog/zlog.mk 691 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
  ################################################################################
  #
  # zlog
  #
  ################################################################################
  
  ZLOG_VERSION = 6ddb9bbf3ff0123e701bf60996f351576ebe9c00
  ZLOG_SITE = $(call github,HardySimpson,zlog,$(ZLOG_VERSION))
  ZLOG_LICENSE = LGPLv2.1
  ZLOG_LICENSE_FILES = COPYING
  ZLOG_INSTALL_STAGING = YES
  
  define ZLOG_BUILD_CMDS
  	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
  		-C $(@D) all
  endef
  
  define ZLOG_INSTALL_STAGING_CMDS
  	$(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
  endef
  
  define ZLOG_INSTALL_TARGET_CMDS
  	$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
  endef
  
  $(eval $(generic-package))