genode/repos/os/Tuprules.tup
Emery Hemingway 969180525f Use patched binary toolchain from Genode Labs
- 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
2020-01-05 20:32:08 +01:00

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