Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ $(shell $(VECHO) 1>&2 Done reading dependencies)
endif

# Each directory in $(INCLUDES) is passed as a -I directory when compiling.
INCLUDE := $(patsubst %,-I%, $(INCLUDES)) -I$(RTDIR)/../include
INCLUDE := $(patsubst %,-I%, $(INCLUDES)) -I$(RTDIR)/include -I../include
INCLUDE += $(PYTHON_CPPFLAGS)
INCLUDE += $(LIBTIRPC_CFLAGS)

Expand Down Expand Up @@ -854,7 +854,7 @@ endif
# that's what kbuild seems to require

EXTRA_CFLAGS := $(filter-out -ffast-math,$(RTFLAGS)) -D__MODULE__ \
-I$(BASEPWD)/../include \
-I$(BASEPWD)/../include -I$(BASEPWD) \
-DSEQUENTIAL_SUPPORT -DHAL_SUPPORT -DDYNAMIC_PLCSIZE -DRT_SUPPORT -DOLD_TIMERS_MONOS_SUPPORT -DMODBUS_IO_MASTER \
-fno-fast-math $(call cc-option,-mieee-fp) -fno-unsafe-math-optimizations \
-Wno-declaration-after-statement \
Expand Down
8 changes: 4 additions & 4 deletions src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,14 @@ AC_ARG_ENABLE(toolnml,

#at this point if RTS is empty, we need to find RT ourselves
AC_MSG_CHECKING([for rtai-config])
if test -z "$RTS"; then
if test -z "$RTS" || test "$RTS" = uspace; then
DIRS="/usr/realtime-`uname -r` /usr/realtime /usr/realtime* /usr /usr/src/rtai*"
else
DIRS="$RTS"
fi
RTAI_CONFIG=none
for location in $DIRS; do
for subdir in . scripts bin; do
RTAI_CONFIG=none
for location in $DIRS; do
for subdir in . scripts bin; do
for signature in rtai; do
candidate=$location/$subdir/$signature-config
if test "$RTAI_CONFIG" = "none" -a -x $candidate; then
Expand Down
2 changes: 1 addition & 1 deletion src/emc/motion/motion.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ to another.
#ifndef MOTION_H
#define MOTION_H

#include <stdint.h>
#include <rtapi_stdint.h>
#include <stdarg.h>

#include <rtapi_bool.h>
Expand Down
2 changes: 1 addition & 1 deletion src/hal/components/mesa_pktgyro_test.comp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Check linuxcnc.log for debug output.
author "Boris Skegin";
license "GPL";

include "hal/drivers/mesa-hostmot2/hostmot2-serial.h";
include <hostmot2-serial.h>;
include "hal/drivers/mesa-hostmot2/hostmot2.h";


Expand Down
2 changes: 1 addition & 1 deletion src/hal/drivers/pluto_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <asm/io.h>
#endif

#include "hal_parport.h"
#include "hal/hal_parport.h"

int ioaddr = 0x378;
int ioaddr_hi = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/hal/drivers/pluto_step.comp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ see_also """The \\fIpluto_step\\fR section in the HAL User Manual, which shows t

license "GPL";
include <rtapi_math.h>;
include "pluto_common.h";
include "hal/drivers/pluto_common.h";
;;

static int speedrange=0;
Expand Down
Loading