mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
darwin-cross: cleanup, fix 'as' handling... hope this works on other distros too...
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
42eaf9d2be
commit
e97c492fee
@ -23,5 +23,17 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
tar -xzf "${PKG_BUILD}/darwin-cross.tar.gz" -C "${PKG_BUILD}"
|
||||
mv "${PKG_BUILD}/darwin-cross/"* "${PKG_BUILD}"
|
||||
# extract toolchain
|
||||
tar -xzf $PKG_BUILD/darwin-cross.tar.gz -C $PKG_BUILD
|
||||
|
||||
# move toolchain to a proper location
|
||||
mv $PKG_BUILD/darwin-cross/* $PKG_BUILD
|
||||
|
||||
# cleanup
|
||||
rm -rf $PKG_BUILD/darwin-cross/
|
||||
rm -rf $PKG_BUILD/darwin-cross.tar.gz
|
||||
rm -rf $PKG_BUILD/install_darwin-cross.sh
|
||||
|
||||
# fix 'as'
|
||||
rm -rf $PKG_BUILD/i386-apple-darwin8/bin/as
|
||||
ln -sf $ROOT/$PKG_BUILD/libexec/10.4/as/i386/as $PKG_BUILD/i386-apple-darwin8/bin/as
|
||||
|
Loading…
x
Reference in New Issue
Block a user