hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
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
#default to KINETIC
ROSCPP_VERSION = 1.12.14
 
ifeq ($(BR2_PACKAGE_ROS_INDIGO),y)
ROSCPP_VERSION = 1.11.21
endif
 
ROSCPP_SITE = $(call github,ros,ros_comm,$(ROSCPP_VERSION))
ROSCPP_SUBDIR = clients/roscpp
 
ROSCPP_DEPENDENCIES = cpp_common message-generation \
             rosconsole roscpp_serialization roscpp_traits \
             rosgraph_msgs rostime std-msgs xmlrpcpp boost
 
ifeq ($(BR2_PACKAGE_ROS_INDIGO),y)
define ROSCPP_INDIGO_PATCH
   $(APPLY_PATCHES) $(@D) $(PKGDIR)/file/indigo
endef
ROSCPP_POST_PATCH_HOOKS += ROSCPP_INDIGO_PATCH
 
else
define ROSCPP_KINETIC_PATCH
   $(APPLY_PATCHES) $(@D) $(PKGDIR)/file/kinetic
endef
ROSCPP_POST_PATCH_HOOKS += ROSCPP_KINETIC_PATCH
endif
 
$(eval $(catkin-package))