From 93bd67ef62e95a32f8b7e2fd7d9dadee52664160 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@linux.ie>
Date: Wed, 21 Apr 2004 12:13:31 +0000
Subject: centralise pci ids into one place and use scripts to generate files
 for     kernel

---
 linux/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'linux/Makefile')

diff --git a/linux/Makefile b/linux/Makefile
index b1758884..dc21459a 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -208,7 +208,10 @@ SHAREDDIR := ../shared
 HASSHARED := $(shell if [ -d $(SHAREDDIR) ]; then echo y; fi)
 
 ifeq ($(HASSHARED),y)
-includes:: $(SHAREDSRC)
+includes:: $(SHAREDSRC) drm_pciids.h
+
+drm_pciids.h: $(SHAREDDIR)/drm_pciids.txt
+	sh ../scripts/create_linux_pci_lists.sh < $(SHAREDDIR)/drm_pciids.txt
 
 $(SHAREDSRC):
 	@if [ -r $(SHAREDDIR)/$@ ]; then \
-- 
cgit v1.2.3