From e097fdff5cd4b243a7d8fa6344985bbe2b27d69b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 25 Oct 2004 21:48:45 +0000 Subject: [PATCH] Reverse LIB order so that programs that don't make system calls link properly --- src/tests/userprog/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/userprog/Makefile b/src/tests/userprog/Makefile index 5413882..0fae962 100644 --- a/src/tests/userprog/Makefile +++ b/src/tests/userprog/Makefile @@ -41,7 +41,7 @@ LIB_SRC += lib/user/console.c # Console code. LIB_OBJ = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(LIB_SRC))) LIB_DEP = $(patsubst %.o,%.d,$(LIB_OBJ)) -LIB = libc.a lib/user/entry.o +LIB = lib/user/entry.o libc.a PROGS_SRC = $(foreach prog,$(PROGS),$($(prog)_SRC)) PROGS_OBJ = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(PROGS_SRC))) -- 2.30.2