Commit ec04887e authored by yoogx's avatar yoogx

* Correct detection of RTEMS

parent c570eca5
......@@ -13,7 +13,7 @@ ifneq ($(USE_CPP_LINKER),)
LD=$(LD_CPP)
endif
build-node: compile-node
build-node: compile-node
################################################################################
# Configuration
......@@ -223,7 +223,7 @@ compile-node: $(BINARY)
ifeq ($(TARGET), $(filter $(TARGET), leon3-scoc3 leon.rtems leon.rtems_posix))
OBJS = $(USER_OBJS) $(PO_HI_OBJS) $(GENERATED_OBJS) $(EXTERNAL_OBJECTS)
$(BINARY):
if [ x"$$RTEMS_MAKEFILE_PATH"=x"" ]; then \
if [ x"$$RTEMS_MAKEFILE_PATH" = x"" ]; then \
echo "Please define the RTEMS_MAKEFILE_PATH variable, exiting" ; \
else \
$(MAKE) generate-asn1-deployment compile-c-files compile-cpp-files compile-ada-files target-objects compile-po-hi $(USER_OBJS) $(GENERATED_OBJS) ; \
......
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