|
@@ -188,9 +188,13 @@ $(CTOR_TARGETS):
|
|
$(do_ar)
|
|
$(do_ar)
|
|
endif
|
|
endif
|
|
|
|
|
|
-CRTS_COMPAT = $(top_builddir)lib/crt0.o
|
|
+ifeq ($(TARGET_ARCH),nios)
|
|
|
|
+CRTS_COMPAT := $(top_builddir)lib/crt0.o
|
|
$(CRTS_COMPAT):
|
|
$(CRTS_COMPAT):
|
|
ln -fs crt1.o $(top_builddir)lib/crt0.o
|
|
ln -fs crt1.o $(top_builddir)lib/crt0.o
|
|
|
|
+else
|
|
|
|
+CRTS_COMPAT :=
|
|
|
|
+endif
|
|
|
|
|
|
$(crt-y): $(CRTS) $(CTOR_TARGETS) $(CRTS_COMPAT)
|
|
$(crt-y): $(CRTS) $(CTOR_TARGETS) $(CRTS_COMPAT)
|
|
|
|
|