mirror of https://github.com/OpenIPC/firmware.git
27 lines
748 B
Makefile
27 lines
748 B
Makefile
################################################################################
|
|
#
|
|
# ipctool
|
|
#
|
|
################################################################################
|
|
|
|
IPCTOOL_SITE = $(call github,openipc,ipctool,$(IPCTOOL_VERSION))
|
|
IPCTOOL_VERSION = master
|
|
|
|
IPCTOOL_LICENSE = MIT
|
|
IPCTOOL_LICENSE_FILES = LICENSE
|
|
IPCTOOL_INSTALL_STAGING = YES
|
|
|
|
IPCTOOL_CONF_OPTS += -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DSKIP_VERSION=ON
|
|
IPCTOOL_MAKE_OPTS += VERBOSE=1
|
|
|
|
define IPCTOOL_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -m 755 -t $(STAGING_DIR)/usr/lib $(@D)/libipchw.a
|
|
endef
|
|
|
|
define IPCTOOL_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
|
|
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/ipcinfo
|
|
endef
|
|
|
|
$(eval $(cmake-package))
|