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/libndsfpc/examples/gl2d/scrolling/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/libndsfpc/examples/gl2d/scrolling/Makefile')
-rw-r--r-- | packages/libndsfpc/examples/gl2d/scrolling/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/libndsfpc/examples/gl2d/scrolling/Makefile b/packages/libndsfpc/examples/gl2d/scrolling/Makefile index 4c6014b6b2..f155582cdc 100644 --- a/packages/libndsfpc/examples/gl2d/scrolling/Makefile +++ b/packages/libndsfpc/examples/gl2d/scrolling/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) |