added a jam rule AddDriverRegistrationToHaikuImage to add device mappings on the image
commented the insertion of the attribute name in patterns in the case of a string attribute notify_probe_by_file chooses a module based on a bus specific suffix dm_register_child_device has a parameter to optionally check the support for the node added scanning of bus devices after the boot filesystem is mounted fixed dm_rescan, locking was misbehaving fixed SYSTEM_DRIVER_REGISTRATION definition added B_DRIVER_MAPPING attributes for PCI and ACPI devices: %vendor%_%device% for PCI, hid_%hid% and type_%type% for ACPI moved acpi_device_module_info definition to public ACPI.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19394 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -181,6 +181,26 @@ rule AddDriversToHaikuImage
|
||||
}
|
||||
}
|
||||
|
||||
rule AddDriverRegistrationToHaikuImage
|
||||
{
|
||||
# AddDriverRegistrationToHaikuImage <directory> : <link target> : <link names> ] ;
|
||||
#
|
||||
local relativeDirectoryTokens = $(1) ;
|
||||
local target = $(2) ;
|
||||
local links = $(3) ;
|
||||
local directoryTokens = beos system add-ons kernel registration $(relativeDirectoryTokens) ;
|
||||
|
||||
# get the relative symlink path prefix
|
||||
local linkPrefix = ;
|
||||
for i in $(relativeDirectoryTokens) {
|
||||
linkPrefix += .. ;
|
||||
}
|
||||
linkPrefix += .. drivers bin ;
|
||||
|
||||
# add the symlink
|
||||
AddSymlinkToHaikuImage $(directoryTokens) : [ FDirName $(linkPrefix) $(target:BS) ] : $(links) ;
|
||||
}
|
||||
|
||||
rule AddBootModuleSymlinks
|
||||
{
|
||||
# AddBootModuleSymlinks <targets> ;
|
||||
|
||||
Reference in New Issue
Block a user