mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-08 20:12:01 +03:00
- Add check TARGET is either "riscos" or "gtk" (or not specified but then
an appropriate default TARGET value is chosen based on build platform). - Support GCCSDK cross-compilers which are not installed at their default location by making use of GCCSDK_INSTALL_CROSSBIN/GCCSDK_INSTALL_ENV. svn path=/trunk/netsurf/; revision=4025
This commit is contained in:
parent
e0ba58db23
commit
b4d3bb9df7
11
Makefile
11
Makefile
@ -50,6 +50,12 @@ TARGET := gtk
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET),riscos)
|
||||
ifneq ($(TARGET),gtk)
|
||||
$(error Unknown TARGET "$(TARGET)", should either be "riscos" or "gtk")
|
||||
endif
|
||||
endif
|
||||
|
||||
Q=@
|
||||
VQ=@
|
||||
PERL=perl
|
||||
@ -83,8 +89,9 @@ EXEEXT :=
|
||||
PKG_CONFIG :=
|
||||
else
|
||||
# Cross-build for RO
|
||||
GCCSDK_INSTALL_ENV := /home/riscos/env
|
||||
CC := /home/riscos/cross/bin/gcc
|
||||
GCCSDK_INSTALL_ENV ?= /home/riscos/env
|
||||
GCCSDK_INSTALL_CROSSBIN ?= /home/riscos/cross/bin
|
||||
CC := $(GCCSDK_INSTALL_CROSSBIN)/gcc
|
||||
EXEEXT := ,ff8
|
||||
PKG_CONFIG := $(GCCSDK_INSTALL_ENV)/ro-pkg-config
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user