mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 21:00:27 +02:00
* don't try to build a native compiler for arm-gba
git-svn-id: trunk@19969 -
This commit is contained in:
parent
4765728fc4
commit
957c819035
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2011/12/04]
|
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2012/01/05]
|
||||||
#
|
#
|
||||||
default: all
|
default: all
|
||||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-solaris x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded mipsel-linux
|
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent i386-iphonesim m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-solaris x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded mipsel-linux
|
||||||
@ -2163,25 +2163,6 @@ DATESTR:=$(shell $(DATE) +%Y%m%d)
|
|||||||
else
|
else
|
||||||
DATESTR=
|
DATESTR=
|
||||||
endif
|
endif
|
||||||
ifndef UPXPROG
|
|
||||||
ifeq ($(OS_TARGET),go32v2)
|
|
||||||
UPXPROG:=1
|
|
||||||
endif
|
|
||||||
ifeq ($(OS_TARGET),win32)
|
|
||||||
UPXPROG:=
|
|
||||||
endif
|
|
||||||
ifdef UPXPROG
|
|
||||||
UPXPROG:=$(strip $(wildcard $(addsuffix /upx$(SRCEXEEXT),$(SEARCHPATH))))
|
|
||||||
ifeq ($(UPXPROG),)
|
|
||||||
UPXPROG=
|
|
||||||
else
|
|
||||||
UPXPROG:=$(firstword $(UPXPROG))
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
UPXPROG=
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
export UPXPROG
|
|
||||||
ZIPOPT=-9
|
ZIPOPT=-9
|
||||||
ZIPEXT=.zip
|
ZIPEXT=.zip
|
||||||
ifeq ($(USETAR),bz2)
|
ifeq ($(USETAR),bz2)
|
||||||
@ -2435,12 +2416,16 @@ endif
|
|||||||
ifndef CROSSBOOTSTRAP
|
ifndef CROSSBOOTSTRAP
|
||||||
ifneq ($(BINUTILSPREFIX),)
|
ifneq ($(BINUTILSPREFIX),)
|
||||||
override FPCOPT+=-XP$(BINUTILSPREFIX)
|
override FPCOPT+=-XP$(BINUTILSPREFIX)
|
||||||
override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
|
|
||||||
endif
|
endif
|
||||||
ifneq ($(BINUTILSPREFIX),)
|
ifneq ($(BINUTILSPREFIX),)
|
||||||
override FPCOPT+=-Xr$(RLINKPATH)
|
override FPCOPT+=-Xr$(RLINKPATH)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifndef CROSSCOMPILE
|
||||||
|
ifneq ($(BINUTILSPREFIX),)
|
||||||
|
override FPCMAKEOPT+=-XP$(BINUTILSPREFIX)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
ifdef UNITDIR
|
ifdef UNITDIR
|
||||||
override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
|
override FPCOPT+=$(addprefix -Fu,$(UNITDIR))
|
||||||
endif
|
endif
|
||||||
@ -2694,9 +2679,6 @@ endif
|
|||||||
fpc_install: all $(INSTALLTARGET)
|
fpc_install: all $(INSTALLTARGET)
|
||||||
ifdef INSTALLEXEFILES
|
ifdef INSTALLEXEFILES
|
||||||
$(MKDIR) $(INSTALL_BINDIR)
|
$(MKDIR) $(INSTALL_BINDIR)
|
||||||
ifdef UPXPROG
|
|
||||||
-$(UPXPROG) $(INSTALLEXEFILES)
|
|
||||||
endif
|
|
||||||
$(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
|
$(INSTALLEXE) $(INSTALLEXEFILES) $(INSTALL_BINDIR)
|
||||||
endif
|
endif
|
||||||
ifdef INSTALL_CREATEPACKAGEFPC
|
ifdef INSTALL_CREATEPACKAGEFPC
|
||||||
@ -2955,7 +2937,6 @@ fpc_baseinfo:
|
|||||||
@$(ECHO) Date...... $(DATE)
|
@$(ECHO) Date...... $(DATE)
|
||||||
@$(ECHO) FPCMake... $(FPCMAKE)
|
@$(ECHO) FPCMake... $(FPCMAKE)
|
||||||
@$(ECHO) PPUMove... $(PPUMOVE)
|
@$(ECHO) PPUMove... $(PPUMOVE)
|
||||||
@$(ECHO) Upx....... $(UPXPROG)
|
|
||||||
@$(ECHO) Zip....... $(ZIPPROG)
|
@$(ECHO) Zip....... $(ZIPPROG)
|
||||||
@$(ECHO)
|
@$(ECHO)
|
||||||
@$(ECHO) == Object info ==
|
@$(ECHO) == Object info ==
|
||||||
@ -3502,10 +3483,12 @@ cycle:
|
|||||||
ifndef CROSSINSTALL
|
ifndef CROSSINSTALL
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl
|
||||||
ifneq ($(OS_TARGET),embedded)
|
ifneq ($(OS_TARGET),embedded)
|
||||||
|
ifneq ($(OS_TARGET),gba)
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
cycle: override FPC=
|
cycle: override FPC=
|
||||||
cycle:
|
cycle:
|
||||||
@ -3516,10 +3499,12 @@ cycle:
|
|||||||
ifndef CROSSINSTALL
|
ifndef CROSSINSTALL
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' rtlclean rtl
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' rtlclean rtl
|
||||||
ifneq ($(OS_TARGET),embedded)
|
ifneq ($(OS_TARGET),embedded)
|
||||||
|
ifneq ($(OS_TARGET),gba)
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' cycleclean compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' cycleclean compiler
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
cycledep:
|
cycledep:
|
||||||
$(MAKE) cycle USEDEPEND=1
|
$(MAKE) cycle USEDEPEND=1
|
||||||
extcycle:
|
extcycle:
|
||||||
|
@ -586,9 +586,12 @@ ifndef CROSSINSTALL
|
|||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl
|
||||||
# building a native compiler for embedded targets is not possible
|
# building a native compiler for embedded targets is not possible
|
||||||
ifneq ($(OS_TARGET),embedded)
|
ifneq ($(OS_TARGET),embedded)
|
||||||
|
# building a native compiler for the arm-gba target is not possible
|
||||||
|
ifneq ($(OS_TARGET),gba)
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -616,9 +619,12 @@ ifndef CROSSINSTALL
|
|||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' rtlclean rtl
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' rtlclean rtl
|
||||||
# building a native compiler for embedded targets is not possible
|
# building a native compiler for embedded targets is not possible
|
||||||
ifneq ($(OS_TARGET),embedded)
|
ifneq ($(OS_TARGET),embedded)
|
||||||
|
# building a native compiler for the arm-gba target is not possible
|
||||||
|
ifneq ($(OS_TARGET),gba)
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' cycleclean compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(OPT) $(CROSSOPT)' cycleclean compiler
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user