Emery Hemingway
969180525f
- Fetch and patch GCC distribution - Pass Tup config as a file - Fold out and dev outputs - Remove shellHook code for compatibility with dev-shell - Tweak Tup Nix conditionals - Add Tupfile.ini - Remove custom setup-hook
22 lines
412 B
Plaintext
22 lines
412 B
Plaintext
REP_DIR = $(TUP_CWD)
|
|
|
|
ifeq (@(TUP_ARCH),i386)
|
|
CPPFLAGS += -I$(REP_DIR)/include/spec/x86_32
|
|
CPPFLAGS += -I$(REP_DIR)/include/spec/x86
|
|
endif
|
|
|
|
ifeq (@(TUP_ARCH),x86_64)
|
|
CPPFLAGS += -I$(REP_DIR)/include/spec/x86_64
|
|
CPPFLAGS += -I$(REP_DIR)/include/spec/x86
|
|
endif
|
|
|
|
ifeq (@(TUP_ARCH),arm)
|
|
CPPFLAGS += -I$(REP_DIR)/include/spec/arm
|
|
endif
|
|
|
|
CPPFLAGS += -I$(REP_DIR)/include
|
|
|
|
CXXFLAGS += -std=gnu++17
|
|
|
|
LIBS += genode-base
|