Commit e3f2b809 authored by Claes Sjofors's avatar Claes Sjofors

Merge branch 'master' of pwrcvs:/data1/git/pwr

parents 4496daf5 3aaba708
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
* General Public License plus this exception. * General Public License plus this exception.
**/ **/
#if defined EPL
#include "pwr.h" #include "pwr.h"
#include "rt_io_msg.h" #include "rt_io_msg.h"
...@@ -128,8 +129,17 @@ int main() ...@@ -128,8 +129,17 @@ int main()
sts = io_read(io_ctx); sts = io_read(io_ctx);
sts = io_write(io_ctx); sts = io_write(io_ctx);
nanosleep(&tim1, &tim2); nanosleep(&tim1, &tim2);
aproc_TimeStamp( plhp->CycleTime, 5.0); aproc_''TimeStamp( plhp->CycleTime, 5.0);
} }
} }
#else
#include <stdio.h>
int main()
{
printf("** Not built with Powerlink\n");
}
#endif
...@@ -277,6 +277,9 @@ if [ ${machine:0:3} == "arm" ]; then ...@@ -277,6 +277,9 @@ if [ ${machine:0:3} == "arm" ]; then
hwpl=arm hwpl=arm
else else
ubuntu_ver=`cat /etc/issue | grep Ubuntu | awk '{ print $2 }'` ubuntu_ver=`cat /etc/issue | grep Ubuntu | awk '{ print $2 }'`
if [ "$ubuntu_ver" == "" ]; then
ubuntu_ver=`cat /etc/issue | grep Mint | awk '{ print $3 }'`
fi
if [ "$ubuntu_ver" != "" ] &&[ "$ubuntu_ver" != "12.04" ] && [ $hwpl == "i686" ] ; then if [ "$ubuntu_ver" != "" ] &&[ "$ubuntu_ver" != "12.04" ] && [ $hwpl == "i686" ] ; then
hwpl=i386 hwpl=i386
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment