[Travis] Fixed caching

Stopped using the wii_rules.
This commit is contained in:
Maschell 2018-05-26 12:17:42 +02:00
parent 0df946621a
commit f8bf4628b4
2 changed files with 16 additions and 7 deletions

View File

@ -1,8 +1,8 @@
language: c
sudo: false
language: cpp
os:
- linux
os: linux
sudo: false
dist: trusty
env:
global:
@ -10,7 +10,7 @@ env:
cache:
directories:
- ${DEVKITPRO}
- "$HOME/.local"
addons:
apt:

View File

@ -8,10 +8,19 @@ ifeq ($(strip $(DEVKITPRO)),)
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPRO")
endif
include $(DEVKITPPC)/wii_rules
export PATH := $(DEVKITPPC)/bin:$(PORTLIBS)/bin:$(PATH)
export PORTLIBS := $(DEVKITPRO)/portlibs/ppc
PREFIX := powerpc-eabi-
export AS := $(PREFIX)as
export CC := $(PREFIX)gcc
export CXX := $(PREFIX)g++
export AR := $(PREFIX)ar
export OBJCOPY := $(PREFIX)objcopy
include $(DEVKITPPC)/base_rules
#---------------------------------------------------------------------------------
# BUILD is the directory where object files & intermediate files will be placed
# SOURCES is a list of directories containing source code