[rtems-libbsd commit] Rename link01 to init01
Joel Sherrill
joel at rtems.org
Fri Aug 3 13:36:46 UTC 2012
Module: rtems-libbsd
Branch: master
Commit: 7e7dac757b2b733584f573e5c5e2323d85e59379
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=7e7dac757b2b733584f573e5c5e2323d85e59379
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Thu Jul 26 07:22:23 2012 -0500
Rename link01 to init01
---
testsuite/{link01 => init01}/.gitignore | 0
testsuite/{link01 => init01}/Makefile | 12 +++---------
testsuite/{link01 => init01}/init.c | 0
testsuite/{link01 => init01}/nic-sysinit.h | 0
testsuite/{link01 => init01}/test_main.c | 0
5 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/testsuite/link01/.gitignore b/testsuite/init01/.gitignore
similarity index 100%
rename from testsuite/link01/.gitignore
rename to testsuite/init01/.gitignore
diff --git a/testsuite/link01/Makefile b/testsuite/init01/Makefile
similarity index 65%
rename from testsuite/link01/Makefile
rename to testsuite/init01/Makefile
index 0f4c069..1e7ac31 100644
--- a/testsuite/link01/Makefile
+++ b/testsuite/init01/Makefile
@@ -4,14 +4,13 @@
include ../../config.inc
-PGM=${ARCH}/link01.exe
-PGM_R=${ARCH}/link01_r.exe
+PGM=${ARCH}/init01.exe
# optional managers required
MANAGERS=all
# C source names
-C_FILES = test.c
+C_FILES = init.c test_main.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
AM_CPPFLAGS += -I $(INSTALL_BASE)/include
@@ -25,12 +24,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg
OBJS= $(C_O_FILES)
CLEAN_ADDITIONS += undefined.txt
-all: ${ARCH} $(PGM_R) $(PGM)
- $(NM) $(PGM_R) | grep "U " >undefined.txt
- @echo `cat undefined.txt | wc -l` symbols to resolve
+all: ${ARCH} $(PGM)
$(PGM): $(OBJS)
-$(make-exe)
-
-$(PGM_R): $(OBJS)
- $(MAKE) -f Makefile_ldr
diff --git a/testsuite/link01/init.c b/testsuite/init01/init.c
similarity index 100%
rename from testsuite/link01/init.c
rename to testsuite/init01/init.c
diff --git a/testsuite/link01/nic-sysinit.h b/testsuite/init01/nic-sysinit.h
similarity index 100%
rename from testsuite/link01/nic-sysinit.h
rename to testsuite/init01/nic-sysinit.h
diff --git a/testsuite/link01/test_main.c b/testsuite/init01/test_main.c
similarity index 100%
rename from testsuite/link01/test_main.c
rename to testsuite/init01/test_main.c
More information about the vc
mailing list