Import pci.ids and usb.ids into repository.

* They will be updated by a cron job once per day.

This improves the reproducability of non-current builds, as the ID-files
will no longer change over time.
This commit is contained in:
Oliver Tappe
2014-10-14 22:42:55 +02:00
parent 5ad71574bd
commit 839fef77e1
4 changed files with 45325 additions and 7 deletions
+4 -6
View File
@@ -46,7 +46,6 @@ USBDevsHeaderGen [ FGristFiles usbdevs.h usbdevs_data.h ] : usbdevs
rule PCIHeaderGen rule PCIHeaderGen
{ {
SEARCH on $(2) = $(SEARCH_SOURCE) ;
SEARCH on $(3) = $(SEARCH_SOURCE) ; SEARCH on $(3) = $(SEARCH_SOURCE) ;
Depends $(1) : $(2) $(3) ; Depends $(1) : $(2) $(3) ;
@@ -60,14 +59,13 @@ actions PCIHeaderGen1
gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1]) gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1])
} }
local pciidsFile = [ DownloadFile pci.ids local pciidsFile = pci.ids ;
: http://www.haiku-files.org/files/pci.ids ] ; SEARCH on $(pciidsFile) = [ FDirName $(HAIKU_TOP) src data ids ] ;
PCIHeaderGen [ FGristFiles pcihdr.h ] : $(pciidsFile) : pci-header.awk ; PCIHeaderGen [ FGristFiles pcihdr.h ] : $(pciidsFile) : pci-header.awk ;
rule USBHeaderGen rule USBHeaderGen
{ {
SEARCH on $(2) = $(SEARCH_SOURCE) ;
SEARCH on $(3) = $(SEARCH_SOURCE) ; SEARCH on $(3) = $(SEARCH_SOURCE) ;
Depends $(1) : $(2) $(3) ; Depends $(1) : $(2) $(3) ;
@@ -81,8 +79,8 @@ actions USBHeaderGen1
gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1]) gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1])
} }
local usbidsFile = [ DownloadFile usb.ids local usbidsFile = usb.ids ;
: http://www.haiku-files.org/files/usb.ids ] ; SEARCH on $(usbidsFile) = [ FDirName $(HAIKU_TOP) src data ids ] ;
USBHeaderGen [ FGristFiles usbhdr.h ] : $(usbidsFile) : usb-header.awk ; USBHeaderGen [ FGristFiles usbhdr.h ] : $(usbidsFile) : usb-header.awk ;
+2
View File
@@ -0,0 +1,2 @@
These files are updated by a cron-job on the git server
whenever they change upstream.
+26413
View File
File diff suppressed because it is too large Load Diff
+18905
View File
File diff suppressed because it is too large Load Diff