diff --git a/sysdep/pal-distro.mk b/sysdep/pal-distro.mk index 704a55daef8f492be45da7e329ab94bc952614c2..ac4d2277595dd585c00c3f631157a18b8fb05952 100644 --- a/sysdep/pal-distro.mk +++ b/sysdep/pal-distro.mk @@ -6,10 +6,12 @@ ifndef _paldistro_mk _paldistro:=$(shell ${SHELL} ${ROBOTPKG_DIR}/wip/sysdep/pal-distro.sh) export PALDISTRO:= $(word 1,${_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 + 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 # ERBIUM_ROS_FLAVOR diff --git a/sysdep/platform/palerbium.mk b/sysdep/platform/palerbium.mk new file mode 100644 index 0000000000000000000000000000000000000000..c3f62ede64f3dc11c561ca01df1913f0680c47a3 --- /dev/null +++ b/sysdep/platform/palerbium.mk @@ -0,0 +1 @@ +CMAKE_PREFIX_PATH+=/opt/pal/erbium