-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathatom.mk
27 lines (19 loc) · 854 Bytes
/
atom.mk
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
LOCAL_PATH := $(call my-dir)
###############################################################################
# ros-slamdunk-obstacle-avoidance-example
###############################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := ros-slamdunk-obstacle-avoidance-example
LOCAL_CATEGORY_PATH := ros_packages
LOCAL_DESCRIPTION := SLAMDunk ROS obstacle avoidance example
LOCAL_LIBRARIES := \
ros-indigo-export
SLAMDUNK_ROS_SDK_BUILD_DIR := $(call local-get-build-dir)/../ros-slamdunk/devel
LOCAL_EXPAND_CUSTOM_VARIABLES := 1
LOCAL_CMAKE_CONFIGURE_ARGS = \
-DCATKIN_DEVEL_PREFIX=$(SLAMDUNK_ROS_SDK_BUILD_DIR) \
%{CUSTOM_ROS_INDIGO_CMAKE_CONFIGURE_ARGS}
ifeq ("$(TARGET_CPU)", "tegrak1")
LOCAL_CMAKE_CONFIGURE_ARGS += -DCMAKE_INSTALL_PREFIX=/opt/ros-slamdunk/
endif
include $(BUILD_CMAKE)