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:
parent
1654e65735
commit
0afec1917e
@ -298,25 +298,16 @@ rule AddDriversToContainer container : relativeDirectoryTokens : targets
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rule AddDriverRegistrationToContainer container : relativeDirectoryTokens
|
rule AddNewDriversToContainer container : relativeDirectoryTokens
|
||||||
: target : links
|
: targets
|
||||||
{
|
{
|
||||||
# AddDriverRegistrationToContainer <container> : <directory>
|
# AddNewDriversToContainer <container> : <directory> : <targets> ;
|
||||||
# : <link target> : <link names> ] ;
|
|
||||||
#
|
#
|
||||||
local directoryTokens = beos system add-ons kernel registration
|
local directoryTokens = beos system add-ons kernel drivers
|
||||||
$(relativeDirectoryTokens) ;
|
$(relativeDirectoryTokens) ;
|
||||||
|
|
||||||
# get the relative symlink path prefix
|
AddFilesToContainer $(container) : $(directoryTokens)
|
||||||
local linkPrefix = ;
|
: $(targets) ;
|
||||||
for i in $(relativeDirectoryTokens) {
|
|
||||||
linkPrefix += .. ;
|
|
||||||
}
|
|
||||||
linkPrefix += .. drivers bin ;
|
|
||||||
|
|
||||||
# add the symlink
|
|
||||||
AddSymlinkToContainer $(container) : $(directoryTokens)
|
|
||||||
: [ FDirName $(linkPrefix) $(target:BS) ] : $(links) ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rule AddBootModuleSymlinksToContainer container : targets
|
rule AddBootModuleSymlinksToContainer container : targets
|
||||||
@ -666,12 +657,12 @@ rule AddDriversToHaikuImage relativeDirectoryTokens : targets
|
|||||||
: $(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)
|
AddNewDriversToContainer $(HAIKU_IMAGE_CONTAINER_NAME)
|
||||||
: $(relativeDirectoryTokens) : $(target) : $(links) ;
|
: $(relativeDirectoryTokens) : $(targets) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
rule AddBootModuleSymlinksToHaikuImage targets
|
rule AddBootModuleSymlinksToHaikuImage targets
|
||||||
|
Loading…
Reference in New Issue
Block a user