mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
0e06042f81
Originally, the spec files for less specific SPEC values were include via the 'select_from_repositories' function. This implies that BASE_DIR must always be present in the list of 'REPOSITORIES'. Otherwise the spec files won't be found. By explicitly including sub specs from '$(BASE_DIR)/mk', we lift this restriction.
21 lines
332 B
Makefile
21 lines
332 B
Makefile
#
|
|
# Specifics for 32-bit x86
|
|
#
|
|
SPECS += x86 32bit
|
|
|
|
#
|
|
# x86-specific Genode headers
|
|
#
|
|
REP_INC_DIR += include/spec/x86
|
|
REP_INC_DIR += include/spec/x86_32
|
|
|
|
#
|
|
# x86-specific flags
|
|
#
|
|
CC_MARCH ?= -march=i686 -m32
|
|
LD_MARCH ?= -melf_i386
|
|
AS_MARCH ?= -march=i686 --32
|
|
|
|
include $(BASE_DIR)/mk/spec/32bit.mk
|
|
include $(BASE_DIR)/mk/spec/x86.mk
|