summaryrefslogtreecommitdiff
path: root/util/m5/Makefile.arm
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-05-07 14:47:04 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-05-07 14:47:04 +0200
commit4153a76478e8cc0d0c09cf45c87d71f5d844e8bb (patch)
treee7e22b745a06f485810da1ed09aaee512bebfbfd /util/m5/Makefile.arm
parente316e4e5fe836a3cdd522f7181ea1e6421afd416 (diff)
downloadgem5-4153a76478e8cc0d0c09cf45c87d71f5d844e8bb.tar.xz
arm: Make libm5 a dependency of the m5 utility
The m5 utility wasn't relinked properly since libm5.a wasn't a dependency of the utility. This changeset addresses that issue.
Diffstat (limited to 'util/m5/Makefile.arm')
-rw-r--r--util/m5/Makefile.arm2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/m5/Makefile.arm b/util/m5/Makefile.arm
index a90dc1011..fd6e8938c 100644
--- a/util/m5/Makefile.arm
+++ b/util/m5/Makefile.arm
@@ -69,7 +69,7 @@ all: libm5.a m5
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
-m5: $(OBJS)
+m5: $(OBJS) libm5.a
$(CC) -o $@ $(OBJS) $(LDFLAGS)
libm5.a: $(LIB_OBJS)