uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/development/tools/xcbuild/setup-hook.sh
Normal file
29
pkgs/development/tools/xcbuild/setup-hook.sh
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
xcbuildBuildPhase() {
|
||||
export DSTROOT=$out
|
||||
|
||||
runHook preBuild
|
||||
|
||||
echo "running xcodebuild"
|
||||
|
||||
xcodebuild SYMROOT=$PWD/Products OBJROOT=$PWD/Intermediates $xcbuildFlags build
|
||||
|
||||
runHook postBuild
|
||||
}
|
||||
|
||||
xcbuildInstallPhase () {
|
||||
runHook preInstall
|
||||
|
||||
# not implemented
|
||||
# xcodebuild install
|
||||
|
||||
runHook postInstall
|
||||
}
|
||||
|
||||
buildPhase=xcbuildBuildPhase
|
||||
if [ -z "${installPhase-}" ]; then
|
||||
installPhase=xcbuildInstallPhase
|
||||
fi
|
||||
|
||||
# if [ -d "*.xcodeproj" ]; then
|
||||
# buildPhase=xcbuildPhase
|
||||
# fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue