comparison Makefile @ 26884:cb9430d7bf56

The install-drivers target should depend on the drivers target.
author diego
date Thu, 29 May 2008 00:33:29 +0000
parents 8eacd1538e64
children 95d324b7de18
comparison
equal deleted inserted replaced
26883:a365271c97a5 26884:cb9430d7bf56
975 drivers/radeon_vid.o drivers/rage128_vid.o: CFLAGS += -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math 975 drivers/radeon_vid.o drivers/rage128_vid.o: CFLAGS += -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math
976 drivers/radeon_vid.o: drivers/radeon_vid.c drivers/radeon.h drivers/radeon_vid.h 976 drivers/radeon_vid.o: drivers/radeon_vid.c drivers/radeon.h drivers/radeon_vid.h
977 drivers/rage128_vid.o: drivers/radeon_vid.c drivers/radeon.h drivers/radeon_vid.h 977 drivers/rage128_vid.o: drivers/radeon_vid.c drivers/radeon.h drivers/radeon_vid.h
978 $(CC) $(CFLAGS) -DRAGE128 -c $< -o $@ 978 $(CC) $(CFLAGS) -DRAGE128 -c $< -o $@
979 979
980 install-drivers: 980 install-drivers: drivers
981 -mkdir -p $(MODULES_DIR) 981 -mkdir -p $(MODULES_DIR)
982 install -m 644 $(KERNEL_OBJS) $(MODULES_DIR) 982 install -m 644 $(KERNEL_OBJS) $(MODULES_DIR)
983 depmod -a 983 depmod -a
984 -mknod /dev/mga_vid c 178 0 984 -mknod /dev/mga_vid c 178 0
985 -mknod /dev/tdfx_vid c 178 0 985 -mknod /dev/tdfx_vid c 178 0