Commit b216acb9 authored by jdelange's avatar jdelange

* share/make/Makefile.leon.rtems

   - Fix library path for LEON



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@4708 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 3ae2c6d0
......@@ -32,19 +32,21 @@ TARGET_TRANSPORT_SOURCES =
TARGET_CFLAGS = -DRTEMS_PURE -DLEON_RTEMS $(GCC_GENERIC_FLAGS) $(CPU_FLAGS) $(AM_FLAGS) $(GCCSPECS)
TARGET_INCLUDE = -I $(RUNTIME_PATH)/config/leon-rtems/
TARGET_LDFLAGS = -lrtemsbsp -lc -lm $(RUNTIME_PATH)/libs/leon/liblua.a -lm -L$(RUNTIME_PATH)/libs/leon/ -llua -lm
EXTERNAL_OBJECTS += -L$(RUNTIME_PATH)/libs/leon/ -llua -lm
TARGET_LDFLAGS = -lrtemsbsp -lc -lm
ifndef RTEMS_API
TARGET_CFLAGS += -DRTEMS48
TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/leon-rtems4.8/ -llua -lm
endif
ifeq ($(RTEMS_API),4.8)
TARGET_CFLAGS += -DRTEMS48
TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/leon-rtems4.8/ -llua -lm
endif
ifeq ($(RTEMS_API),4.11)
TARGET_CFLAGS += -DRTEMS411
TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/leon-rtems4.11/ -llua -lm
endif
ifeq ($(RTEMS_API),4.10)
......
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