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 0f4c069f..1e7ac313 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