diff options
author | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-04-19 13:00:50 +0000 |
---|---|---|
committer | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-04-19 13:00:50 +0000 |
commit | 00b8bc6733b0038f7bf29c8d0b3d3c2b33668eb4 (patch) | |
tree | 81256e84fef2fcbe1daab56f3e0f9b7d12a22027 /packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile | |
parent | 2154338e7ccb033c3e4d8af8572bd89a329e1da2 (diff) | |
download | fpc-00b8bc6733b0038f7bf29c8d0b3d3c2b33668eb4.tar.gz |
* regenerated makefiles after sync with trunk
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/z80@44847 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile')
-rw-r--r-- | packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile b/packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile index ca4127f3fc..035c3dc996 100644 --- a/packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile +++ b/packages/libogcfpc/examples/graphics/gx/neheGX/lesson5/Makefile @@ -198,6 +198,12 @@ $(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic endif override FPCOPT+=-Cp$(SUBARCH) endif +ifeq ($(FULL_TARGET),xtensa-embedded) +ifeq ($(SUBARCH),) +$(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined) +endif +override FPCOPT+=-Cp$(SUBARCH) +endif ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),) TARGETSUFFIX=$(OS_TARGET) SOURCESUFFIX=$(OS_SOURCE) |