added AddNewDriversToHaikuImage to replace AddDriverRegistrationToHaikuImage: it places drivers which supports the new device architecture at the right place

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25889 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-06-09 20:32:54 +00:00
parent 1654e65735
commit 0afec1917e

View File

@ -298,25 +298,16 @@ rule AddDriversToContainer container : relativeDirectoryTokens : targets
}
}
rule AddDriverRegistrationToContainer container : relativeDirectoryTokens
: target : links
rule AddNewDriversToContainer container : relativeDirectoryTokens
: targets
{
# AddDriverRegistrationToContainer <container> : <directory>
# : <link target> : <link names> ] ;
# AddNewDriversToContainer <container> : <directory> : <targets> ;
#
local directoryTokens = beos system add-ons kernel registration
local directoryTokens = beos system add-ons kernel drivers
$(relativeDirectoryTokens) ;
# get the relative symlink path prefix
local linkPrefix = ;
for i in $(relativeDirectoryTokens) {
linkPrefix += .. ;
}
linkPrefix += .. drivers bin ;
# add the symlink
AddSymlinkToContainer $(container) : $(directoryTokens)
: [ FDirName $(linkPrefix) $(target:BS) ] : $(links) ;
AddFilesToContainer $(container) : $(directoryTokens)
: $(targets) ;
}
rule AddBootModuleSymlinksToContainer container : targets
@ -666,12 +657,12 @@ rule AddDriversToHaikuImage relativeDirectoryTokens : targets
: $(relativeDirectoryTokens) : $(targets) ;
}
rule AddDriverRegistrationToHaikuImage relativeDirectoryTokens : target : links
rule AddNewDriversToHaikuImage relativeDirectoryTokens : targets
{
# AddDriverRegistrationToHaikuImage <directory> : <link target> : <link names> ] ;
# AddNewDriversToHaikuImage <relative directory> : <targets> ;
AddDriverRegistrationToContainer $(HAIKU_IMAGE_CONTAINER_NAME)
: $(relativeDirectoryTokens) : $(target) : $(links) ;
AddNewDriversToContainer $(HAIKU_IMAGE_CONTAINER_NAME)
: $(relativeDirectoryTokens) : $(targets) ;
}
rule AddBootModuleSymlinksToHaikuImage targets