From c22a27df812e9ca332a596b1914856e831b577b8 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 23 Mar 2016 21:23:14 +0100 Subject: Ci20 wip support (nw) --- makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 58bcb5c5a35..d248728a475 100644 --- a/makefile +++ b/makefile @@ -1345,6 +1345,30 @@ endif $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR_SDL)/gmake-rpi config=$(CONFIG) precompile $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR_SDL)/gmake-rpi config=$(CONFIG) +#------------------------------------------------- +# gmake-ci20 +#------------------------------------------------- + +$(PROJECTDIR_SDL)/gmake-ci20/Makefile: makefile $(SCRIPTS) $(GENIE) +ifndef MIPS_LINUXGNU_ROOT + $(error MIPS_LINUXGNU_ROOT is not set) +endif +ifndef CI20_SYSROOT + $(error CI20_SYSROOT is not set) +endif + $(SILENT) $(GENIE) $(PARAMS) --gcc=ci20 --gcc_version=4.9.2 --osd=sdl --targetos=ci20 --targetos=ci20 --NO_USE_MIDI=1 --PLATFORM=arm --NOASM=1 --USE_QTDEBUG=0 --SDL_INSTALL_ROOT=$(RASPBERRY_SYSROOT)/usr gmake + +.PHONY: ci20 +ci20: generate $(PROJECTDIR_SDL)/gmake-ci20/Makefile +ifndef MIPS_LINUXGNU_ROOT + $(error MIPS_LINUXGNU_ROOT is not set) +endif +ifndef CI20_SYSROOT + $(error CI20_SYSROOT is not set) +endif + $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR_SDL)/gmake-ci20 config=$(CONFIG) precompile + $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR_SDL)/gmake-ci20 config=$(CONFIG) + #------------------------------------------------- # cmake #------------------------------------------------- -- cgit v1.2.3