Build recvmmsg also for PowerPC
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 6 Jan 2014 13:51:00 +0000 (14:51 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 6 Jan 2014 13:51:00 +0000 (14:51 +0100)
buildppc/Makefile [new symlink]
buildppc/Makefile.rules [new symlink]
buildppc/config.target [new file with mode: 0644]
buildppc/recvmmsg [new symlink]
recvmmsg/Makefile.omk

diff --git a/buildppc/Makefile b/buildppc/Makefile
new file mode 120000 (symlink)
index 0000000..d0b0e8e
--- /dev/null
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file
diff --git a/buildppc/Makefile.rules b/buildppc/Makefile.rules
new file mode 120000 (symlink)
index 0000000..afb2930
--- /dev/null
@@ -0,0 +1 @@
+../Makefile.rules
\ No newline at end of file
diff --git a/buildppc/config.target b/buildppc/config.target
new file mode 100644 (file)
index 0000000..c519f52
--- /dev/null
@@ -0,0 +1,3 @@
+CC=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu-gcc
+
+
diff --git a/buildppc/recvmmsg b/buildppc/recvmmsg
new file mode 120000 (symlink)
index 0000000..4148650
--- /dev/null
@@ -0,0 +1 @@
+../recvmmsg
\ No newline at end of file
index b133c82..634362f 100644 (file)
@@ -2,6 +2,6 @@
 
 bin_PROGRAMS += can_recvmmsg
 can_recvmmsg_SOURCES = can_recvmmsg.c
-can_recvmmsg_LIBS = #rt pthread m #talloc popt #ulut
+can_recvmmsg_LIBS = rt #pthread m #talloc popt #ulut
 
 # OMK_CFLAGS = -DSO_RXQ_OVFL=40 -DPF_CAN=29 -DAF_CAN=PF_CAN