8d28093ffb
GitOrigin-RevId: 31ffc50c571e6683e9ecc9dbcbd4a8e9914b4497
15 lines
376 B
Bash
15 lines
376 B
Bash
mergeNetBSDSourceDir() {
|
|
# merge together all extra paths
|
|
# there should be a better way to do this
|
|
chmod -R u+w $BSDSRCDIR
|
|
for path in $extraPaths; do
|
|
rsync -Er --chmod u+w $path/ $BSDSRCDIR/
|
|
done
|
|
}
|
|
|
|
addNetBSDMakeFlags() {
|
|
makeFlags="INCSDIR=${!outputDev}/include $makeFlags"
|
|
}
|
|
|
|
postUnpackHooks+=(mergeNetBSDSourceDir)
|
|
preConfigureHooks+=(addNetBSDMakeFlags)
|