summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-12-05 21:17:29 +0000
committerJeremy Katz <katzj@redhat.com>2001-12-05 21:17:29 +0000
commit18c298c7969ef2a50a1ee48e4167c414bde1e367 (patch)
tree0743ee96bb6d043e83bf9e54efb436021f8f55a0 /utils
parent55cce1c938c9a47e94f2a247aa57daf556184397 (diff)
downloadanaconda-18c298c7969ef2a50a1ee48e4167c414bde1e367.tar.gz
anaconda-18c298c7969ef2a50a1ee48e4167c414bde1e367.tar.xz
anaconda-18c298c7969ef2a50a1ee48e4167c414bde1e367.zip
build our own modules.o that's not diet
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 5136f2caa..fd610dd2f 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -22,8 +22,12 @@ all: modlist $(MODDEPS) genhdlist snarffont mapshdr readmap
modlist: modlist.o
-moddeps: moddeps.o
- $(CC) $(LDFLAGS) -o moddeps moddeps.o ../loader/modules.o \
+modules.o: ../loader/modules.c
+ cp ../loader/modules.c ./
+ $(CC) $(CFLAGS) -I../loader -c modules.c
+
+moddeps: moddeps.o modules.o
+ $(CC) $(LDFLAGS) -o moddeps moddeps.o modules.o \
$(LOADLIBES) \
../isys/modutils/insmod/libmodutils.a \
../isys/modutils/util/libutil.a \