Commit a8b929bb authored by jdelange's avatar jdelange
Browse files

fix xenomai target (again)



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2459 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent f7900a86
ifeq (`xeno-config --version`, 2.4.4)
TARGET_CFLAGS = `xeno-config --xeno-cflags` -DXENO_POSIX -D_POSIX_SOURCE -D_GNU_SOURCE -m32
XENOVER=$(shell xeno-config --version)
ifeq ($(XENOVER),2.4.4)
TARGET_CFLAGS = `xeno-config --xeno-cflags` -DXENO_NATIVE -D_POSIX_SOURCE -D_GNU_SOURCE -m32
TARGET_LDFLAGS = `xeno-config --xeno-ldflags` -m32
else
TARGET_CFLAGS = `xeno-config --skin native --cflags` -DXENO_POSIX -D_POSIX_SOURCE -D_GNU_SOURCE -m32
TARGET_CFLAGS = `xeno-config --skin native --cflags` -DXENO_NATIVE -D_POSIX_SOURCE -D_GNU_SOURCE -m32
TARGET_LDFLAGS = `xeno-config --skin native --ldflags` -m32
endif
......
ifeq (`xeno-config --version`, 2.4.4)
XENOVER=$(shell xeno-config --version)
ifeq ($(XENOVER),2.4.4)
TARGET_CFLAGS = `xeno-config --posix-cflags` -DXENO_POSIX -D_POSIX_SOURCE -D_GNU_SOURCE -m32
TARGET_LDFLAGS = `xeno-config --posix-ldflags` -m32
else
......@@ -6,7 +8,6 @@ TARGET_CFLAGS = `xeno-config --skin posix --cflags` -DXENO_POSIX -D_POSIX_SOUR
TARGET_LDFLAGS = `xeno-config --skin posix --ldflags` -m32
endif
SIMULINK_LDFLAGS = -lm
CC = gcc
LD = ld
......
Supports Markdown
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