genode/repos/os/Tupfile
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

17 lines
372 B
Plaintext

include_rules
ifdef NIX_OUTPUTS_DEV
SED_FLAGS += -e "s|@includedir@|@(NIX_OUTPUTS_DEV)/include|"
SED_FLAGS += -e "s|@libdir@|@(NIX_OUTPUTS_DEV)/lib|"
SED_FLAGS += -e "s|@includes@|-I\${includedir}|"
else
SED_FLAGS += -e "s|@includedir@||"
SED_FLAGS += -e "s|@includes@||"
SED_FLAGS += -e "s|@libdir@|$(DEV_DIR)/lib|"
endif
: foreach *.pc.in |> !sed_pkgconfig_file |>