diff options
author | iap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk> | 2005-01-22 21:23:10 +0000 |
---|---|---|
committer | iap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk> | 2005-01-22 21:23:10 +0000 |
commit | 8895336d36bbd9b98a09628549485b22e826c71a (patch) | |
tree | f44007a125984be4f95d5d3ae674c94b1054658b /xen/drivers/pci | |
parent | dce78bee0fe25b4484eab99757c3ec6269815cf5 (diff) | |
download | xen-8895336d36bbd9b98a09628549485b22e826c71a.tar.gz xen-8895336d36bbd9b98a09628549485b22e826c71a.tar.bz2 xen-8895336d36bbd9b98a09628549485b22e826c71a.zip |
bitkeeper revision 1.1159.223.15 (41f2c43e5U8GurDCsAUaiGJ2VOmnUQ)
Description: Use proper targets in makefiles
A rule in make should produce only what it's target allows. When it
produces side-effects, things like ctrl-c and parallellism break it
oddly.
From Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
Diffstat (limited to 'xen/drivers/pci')
-rw-r--r-- | xen/drivers/pci/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/drivers/pci/Makefile b/xen/drivers/pci/Makefile index 7fd6c1705f..040d5aaccd 100644 --- a/xen/drivers/pci/Makefile +++ b/xen/drivers/pci/Makefile @@ -28,7 +28,8 @@ OBJS := pci.o quirks.o compat.o names.o setup-res.o #obj-y += syscall.o #endif -default: $(OBJS) +default: driver.o +driver.o: $(OBJS) $(LD) $(LDFLAGS) -r -o driver.o $(OBJS) clean: |