Commit db624bb6 authored by yoogx's avatar yoogx

* Add defensive elements when compiling for XtratuM

parent 02287827
...@@ -275,11 +275,15 @@ $(BINARY): ...@@ -275,11 +275,15 @@ $(BINARY):
fi fi
endif endif
### The following is to be revisited
ifeq ($(TARGET), leon3-xm3) ifeq ($(TARGET), leon3-xm3)
$(BINARY):
OBJS = $(USER_OBJS) $(PO_HI_OBJS) $(GENERATED_OBJS) $(EXTERNAL_OBJECTS) OBJS = $(USER_OBJS) $(PO_HI_OBJS) $(GENERATED_OBJS) $(EXTERNAL_OBJECTS)
$(BINARY): generate-asn1-deployment target-objects compile-po-hi $(USER_OBJS) $(GENERATED_OBJS) $(BINARY):
$(make-exe) if [ x"$(shell which sparc-rtems-gcc)" = x ]; then \
echo "XtratuM not installed, exiting" ; \
else \
$(MAKE) generate-asn1-deployment target-objects compile-po-hi $(USER_OBJS) $(GENERATED_OBJS); \
fi
endif endif
......
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