mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 16:10:09 +02:00
* turn off compiler and utils building for nds
* use NoNativeBinaries to detect if a native compiler shall be build git-svn-id: trunk@30017 -
This commit is contained in:
parent
f71007d95c
commit
b7422716b2
4
Makefile
4
Makefile
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2015-01-04 rev 29399]
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2015-02-23 rev 29972]
|
||||
#
|
||||
default: help
|
||||
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 i386-android i386-aros 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 powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-dragonfly arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android jvm-java jvm-android i8086-msdos aarch64-darwin
|
||||
@ -470,7 +470,7 @@ endif
|
||||
endif
|
||||
BuildOnlyBaseCPUs=jvm
|
||||
ifneq ($(wildcard utils),)
|
||||
NOUTILSTARGETS=embedded gba msdos $(BuildOnlyBaseCPUs)
|
||||
NOUTILSTARGETS=embedded gba nds msdos $(BuildOnlyBaseCPUs)
|
||||
ifeq ($(findstring $(OS_TARGET),$(NOUTILSTARGETS)),)
|
||||
ifdef BUILDFULLNATIVE
|
||||
UTILS=1
|
||||
|
@ -207,7 +207,7 @@ endif
|
||||
BuildOnlyBaseCPUs=jvm
|
||||
|
||||
ifneq ($(wildcard utils),)
|
||||
NOUTILSTARGETS=embedded gba msdos $(BuildOnlyBaseCPUs)
|
||||
NOUTILSTARGETS=embedded gba nds msdos $(BuildOnlyBaseCPUs)
|
||||
ifeq ($(findstring $(OS_TARGET),$(NOUTILSTARGETS)),)
|
||||
ifdef BUILDFULLNATIVE
|
||||
UTILS=1
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2015-01-04 rev 29399]
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2015-02-23 rev 29972]
|
||||
#
|
||||
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 i386-android i386-aros 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 powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-netbsd x86_64-solaris x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded x86_64-iphonesim x86_64-dragonfly arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian arm-android powerpc64-linux powerpc64-darwin powerpc64-embedded powerpc64-aix avr-embedded armeb-linux armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android jvm-java jvm-android i8086-msdos aarch64-darwin
|
||||
@ -551,6 +551,9 @@ endif
|
||||
ifeq ($(OS_TARGET),msdos)
|
||||
NoNativeBinaries=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),nds)
|
||||
NoNativeBinaries=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-linux)
|
||||
override TARGET_DIRS+=utils
|
||||
endif
|
||||
@ -4049,13 +4052,11 @@ cycle:
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPNAME)' OS_TARGET=$(OS_SOURCE) EXENAME=$(PPCROSSNAME) CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 cycleclean compiler CYCLELEVEL=2
|
||||
ifndef CROSSINSTALL
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl CYCLELEVEL=3
|
||||
ifneq ($(OS_TARGET),embedded)
|
||||
ifneq ($(OS_TARGET),gba)
|
||||
ifneq NoNativeBinaries
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler CYCLELEVEL=3
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
else
|
||||
cycle: override FPC=
|
||||
cycle:
|
||||
|
@ -329,6 +329,9 @@ endif
|
||||
ifeq ($(OS_TARGET),msdos)
|
||||
NoNativeBinaries=1
|
||||
endif
|
||||
ifeq ($(OS_TARGET),nds)
|
||||
NoNativeBinaries=1
|
||||
endif
|
||||
|
||||
[rules]
|
||||
#####################################################################
|
||||
@ -688,14 +691,10 @@ cycle:
|
||||
# ppc<ARCH> (target native)
|
||||
ifndef CROSSINSTALL
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' rtlclean rtl CYCLELEVEL=3
|
||||
# building a native compiler for embedded targets is not possible
|
||||
ifneq ($(OS_TARGET),embedded)
|
||||
# building a native compiler for the arm-gba target is not possible
|
||||
ifneq ($(OS_TARGET),gba)
|
||||
ifneq NoNativeBinaries
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' cycleclean compiler CYCLELEVEL=3
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
@ -721,7 +720,6 @@ cycle:
|
||||
# ppc<ARCH> (target native)
|
||||
ifndef CROSSINSTALL
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(RTLOPT) $(CROSSOPT)' rtlclean rtl CYCLELEVEL=3
|
||||
# building a native compiler for JVM and embedded targets is not possible
|
||||
ifndef NoNativeBinaries
|
||||
$(MAKE) 'FPC=$(BASEDIR)/$(PPCROSSNAME)' 'OPT=$(strip $(LOCALOPT) $(CROSSOPT))' cycleclean compiler CYCLELEVEL=3
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user