Skip to content
Snippets Groups Projects
Commit f317ad2f authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[wip/sysdep/pal-distro.mk] Change CMAKE_PATH only if the user ask for it.

parent 0a053a50
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,13 @@ ifndef _paldistro_mk
_paldistro:=$(shell ${SHELL} ${ROBOTPKG_DIR}/wip/sysdep/pal-distro.sh)
export PALDISTRO:= $(word 1,${_paldistro})
ifeq (palerbium,${PALDISTRO})
ifeq (yes,$(call exists,${ROBOTPKG_DIR}/wip/sysdep/platform/${PALDISTRO}.mk))
include ${ROBOTPKG_DIR}/wip/sysdep/platform/${PALDISTRO}.mk
else
$(error missing wip/sysdep/platform/${PALDISTRO}.mk)
ifeq (erbium,${PREFER.pal-distro})
ifeq (palerbium,${PALDISTRO})
ifeq (yes,$(call exists,${ROBOTPKG_DIR}/wip/sysdep/platform/${PALDISTRO}.mk))
include ${ROBOTPKG_DIR}/wip/sysdep/platform/${PALDISTRO}.mk
else
$(error missing wip/sysdep/platform/${PALDISTRO}.mk)
endif
endif
endif
endif # ERBIUM_ROS_FLAVOR
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment