Blame view

buildroot/buildroot-2016.08.1/package/pps-tools/pps-tools.mk 937 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
27
28
29
  ################################################################################
  #
  # pps-tools
  #
  ################################################################################
  
  PPS_TOOLS_VERSION = 0deb9c7e135e9380a6d09e9d2e938a146bb698c8
  PPS_TOOLS_SITE = $(call github,ago,pps-tools,$(PPS_TOOLS_VERSION))
  PPS_TOOLS_INSTALL_STAGING = YES
  PPS_TOOLS_LICENSE = GPLv2+
  PPS_TOOLS_LICENSE_FILES = COPYING
  
  define PPS_TOOLS_BUILD_CMDS
  	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
  endef
  
  define PPS_TOOLS_INSTALL_STAGING_CMDS
  	mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin
  	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
  		DESTDIR=$(STAGING_DIR) -C $(@D) install
  endef
  
  define PPS_TOOLS_INSTALL_TARGET_CMDS
  	mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin
  	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
  		DESTDIR=$(TARGET_DIR) -C $(@D) install
  endef
  
  $(eval $(generic-package))