mirror of https://github.com/OpenIPC/firmware.git
23 lines
659 B
Makefile
23 lines
659 B
Makefile
################################################################################
|
|
#
|
|
# ipctool
|
|
#
|
|
################################################################################
|
|
|
|
IPCTOOL_SITE_METHOD = git
|
|
IPCTOOL_SITE = https://github.com/openipc/ipctool
|
|
IPCTOOL_VERSION = $(call EXTERNAL_SHA,$(IPCTOOL_SITE),HEAD)
|
|
|
|
IPCTOOL_LICENSE = MIT
|
|
IPCTOOL_LICENSE_FILES = LICENSE
|
|
|
|
IPCTOOL_CONF_OPTS += -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DSKIP_VERSION=ON
|
|
IPCTOOL_MAKE_OPTS += VERBOSE=1
|
|
|
|
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))
|