aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs/Makefile.lfs
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-08 21:41:53 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-08 21:41:53 +0000
commit06d04ebbfb2ec09ef9a42070c79f9c13a8ac6116 (patch)
treeb76e2d8aa644ed0783495f923da24cf96e4b537b /udev-lfs/Makefile.lfs
parent1005bde5ea4eeab943b22f514b72796f660edaa8 (diff)
Add some prereqs to udev-lfs to support make with j > 1
Add support for French version of the book. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-lfs/Makefile.lfs')
-rw-r--r--udev-lfs/Makefile.lfs8
1 files changed, 4 insertions, 4 deletions
diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs
index b3a864977..9bce8cf2a 100644
--- a/udev-lfs/Makefile.lfs
+++ b/udev-lfs/Makefile.lfs
@@ -159,17 +159,17 @@ common: udev-lfs-$(VERSION)/cfg.h
@mkdir -p build
cp udev-lfs-$(VERSION)/cfg.h .
-build/%o: %c
+build/%o: %c common
@echo CC $<
$(VB)gcc -c $(WARN) $(OPTIONS2) $(INCLUDE) $(DEF) -o $@ $<
# Sources from src/libudev use -fvisibility=hidden
-build/%o: src/libudev/%c
+build/%o: src/libudev/%c common
@echo CC $<
$(VB)gcc -c $(WARN) $(OPTIONS) $(INCLUDE) $(DEF) -o $@ $<
# Sources from src/shared use -fvisibility=hidden
-build/%o: src/shared/%c
+build/%o: src/shared/%c common
@echo CC $<
$(VB)gcc -c $(WARN) $(OPTIONS) $(INCLUDE) $(DEF) -o $@ $<
@@ -246,7 +246,7 @@ build/collect: build/collect.o build/$(COMMON_LIB)
$(VB)gcc build/collect.o -o $@ build/udev-local.a build/$(COMMON_LIB) $(LDFLAGS)
$(VB)strip --strip-unneeded $@
-build/%pc: %pc.in
+build/%pc: %pc.in common
@echo GEN $@
@$(SED_PROCESS)