diff packages/pkgconf/makrules.tst @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children 1d7f19c9e4d1
line wrap: on
line diff
--- a/packages/pkgconf/makrules.tst
+++ b/packages/pkgconf/makrules.tst
@@ -23,7 +23,7 @@
 # September 30, 1998.
 # 
 # The Initial Developer of the Original Code is Cygnus.  Portions created
-# by Cygnus are Copyright (C) 1998 Cygnus Solutions.  All Rights Reserved.
+# by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions.  All Rights Reserved.
 # -------------------------------------------
 #
 #####COPYRIGHTEND####
@@ -79,9 +79,14 @@ endif
 ifneq ($(STAMPS),)
 
 LIBDEPS := $(wildcard $(PREFIX)/lib/*)
+DRIVER_DEPS := $(wildcard $(PREFIX)/lib/*driver.o)
 
 %.stamp: $(PACKAGE)_%.o $(LIBDEPS)
-	$(CC) -o $(PREFIX)/tests/$(PACKAGE)/$*$(EXEEXT) $< $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -nostdlib
+ifneq ($(IGNORE_LINK_ERRORS),)
+	-$(CC) -o $(PREFIX)/tests/$(PACKAGE)/$*$(EXEEXT) $< $(DRIVER_DEPS) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -nostdlib
+else
+	$(CC) -o $(PREFIX)/tests/$(PACKAGE)/$*$(EXEEXT) $< $(DRIVER_DEPS) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -nostdlib
+endif
 	@$(TOUCH) $@
 
 %.clean: