Skip to content
Snippets Groups Projects
Commit 3348f2d8 authored by Lukas Bulwahn's avatar Lukas Bulwahn
Browse files

Merge pull request #47 from herbrechtsmeier/native-rework

Work on catkin and updating all recipes to improve the aspect of which native packages the packages really depend on. 
parents d9ee34e6 36f0eb3c
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=6;endline=6;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "message-generation genlisp genpy"
DEPENDS = "message-generation-native message-runtime-native"
require ros-comm.inc
......
......@@ -4,8 +4,8 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "rostest"
DEPENDS = "rostest-native roscpp"
require ros-comm.inc
S = "${WORKDIR}/ros_comm-${PV}/tools/${BPN}"
S = "${WORKDIR}/ros_comm-${PV}/tools/${ROS_BPN}"
......@@ -3,7 +3,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "boost rospack"
DEPENDS = "boost rospack-native rospack"
require ros.inc
......
......@@ -3,7 +3,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=6;endline=6;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "boost python libtinyxml"
DEPENDS = "boost python-native libtinyxml"
SRC_URI = "https://github.com/ros/${BPN}/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
SRC_URI[md5sum] = "1383bdce36fe6319884e7b158c22d8b4"
......
......@@ -4,7 +4,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=5ee5b8b046ae48ad94a2037ca953a67b"
DEPENDS = "message-generation genlisp genpy"
DEPENDS = "message-generation-native message-runtime-native"
SRC_URI = "https://github.com/ros/${ROS_BPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_BP}.tar.gz"
SRC_URI[md5sum] = "ea40e6dd8ea19fe54a2b476358c0ceea"
......
......@@ -16,20 +16,21 @@ SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062
S = "${WORKDIR}/tinyxml"
CXXFLAGS += "-fPIC"
EXTRA_CXXFLAGS = "-I. -fPIC"
do_compile() {
${CXX} ${CXXFLAGS} -I${S} -c -o ${S}/tinyxml.o ${S}/tinyxml.cpp
${CXX} ${CXXFLAGS} -I${S} -c -o ${S}/tinyxmlerror.o ${S}/tinyxmlerror.cpp
${CXX} ${CXXFLAGS} -I${S} -c -o ${S}/tinyxmlparser.o ${S}/tinyxmlparser.cpp
${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxml.o tinyxml.cpp
${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxmlerror.o tinyxmlerror.cpp
${CXX} ${CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o tinyxmlparser.o tinyxmlparser.cpp
${CXX} ${CXXFLAGS} \
-shared \
-Wl,-soname,libtinyxml.so.${PV} \
-o ${S}/libtinyxml.so.${PV} \
-o libtinyxml.so.${PV} \
${LDFLAGS} \
${S}/tinyxml.o \
${S}/tinyxmlparser.o \
${S}/tinyxmlerror.o
tinyxml.o \
tinyxmlparser.o \
tinyxmlerror.o
}
do_install() {
......@@ -41,3 +42,4 @@ do_install() {
install -m 0644 ${S}/tinyxml.h ${D}${includedir}
}
BBCLASSEXTEND += "native"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment