The current implementation either adds macro-prefix-map XOR file-prefix-map (if
REPRODUCIBLE_DEBUG_INFO is defined). Let's have the former always active to
improve the reproducibility.
Signed-off-by: Paul Spooren <mail@aparcar.org>
endif
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_TARGET_uml)),)
- iremap = -f$(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),file,macro)-prefix-map=$(1)=$(2)
+ iremap = -fmacro-prefix-map=$(1)=$(2) $(if $(CONFIG_REPRODUCIBLE_DEBUG_INFO),-ffile-prefix-map=$(1)=$(2))
endif
PACKAGE_DIR?=$(BIN_DIR)/packages