mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
ccache: simplyfing package script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
30489006b7
commit
2806af3d78
@ -35,10 +35,7 @@ PKG_AUTORECONF="no"
|
||||
|
||||
export CC=$LOCAL_CC
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||
cp -f ccache $ROOT/$TOOLCHAIN/bin
|
||||
|
||||
post_makeinstall_host() {
|
||||
# setup ccache
|
||||
$ROOT/$TOOLCHAIN/bin/ccache --max-size=$CCACHE_CACHE_SIZE
|
||||
|
||||
@ -46,11 +43,13 @@ makeinstall_host() {
|
||||
#!/bin/sh
|
||||
$ROOT/$TOOLCHAIN/bin/ccache $LOCAL_CC "\$@"
|
||||
EOF
|
||||
|
||||
chmod +x $HOST_CC
|
||||
|
||||
cat > $HOST_CXX <<EOF
|
||||
#!/bin/sh
|
||||
$ROOT/$TOOLCHAIN/bin/ccache $LOCAL_CXX "\$@"
|
||||
EOF
|
||||
|
||||
chmod +x $HOST_CXX
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user