Skip to content

Commit

Permalink
Wrapped the ath9k_htc firmware cross-compiler with ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Apr 25, 2019
1 parent 9dec8ee commit 2fe08d6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devsus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ then
else
make toolchain
fi
make -C target_firmware
CROSS_COMPILE=$here/xtensa-elf- make -C target_firmware
mv toolchain/inst ../dl/xtensa-toolchain
cd ..

Expand Down
22 changes: 22 additions & 0 deletions xtensa-elf-gcc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh

# this file is part of Devsus.
#
# Copyright 2019 Dima Krasner
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.

CCACHE_HASHDIR=false exec ccache /root/devsus/open-ath9k-htc-firmware/toolchain/inst/bin/xtensa-elf-gcc "$@"

0 comments on commit 2fe08d6

Please sign in to comment.