board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / pps-tools / pps-tools.mk
blobc3e147a455cd2f0d2e8150eb16a8677a1905a5ed
1 ################################################################################
3 # pps-tools
5 ################################################################################
7 PPS_TOOLS_VERSION = 47333f24af878f67ce48022e8af16419713aa1ac
8 PPS_TOOLS_SITE = $(call github,ago,pps-tools,$(PPS_TOOLS_VERSION))
9 PPS_TOOLS_INSTALL_STAGING = YES
10 PPS_TOOLS_LICENSE = GPLv2+
11 PPS_TOOLS_LICENSE_FILES = COPYING
13 define PPS_TOOLS_BUILD_CMDS
14 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
15 endef
17 define PPS_TOOLS_INSTALL_STAGING_CMDS
18 mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin
19 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
20 DESTDIR=$(STAGING_DIR) -C $(@D) install
21 endef
23 define PPS_TOOLS_INSTALL_TARGET_CMDS
24 mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin
25 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
26 DESTDIR=$(TARGET_DIR) -C $(@D) install
27 endef
29 $(eval $(generic-package))