mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 15:28:21 +04:00
The LoongArch vDSO Makefile builds its objects with a flag set of its own, in the same way as the MIPS one. It drops -ffile-prefix-map, adds -g and links with --build-id, so the build id of the vDSO follows the absolute path of the build directory. The kernel embeds the vDSO, so two builds in different directories produce different images. Take the prefix map flags over from KBUILD_CFLAGS. Signed-off-by: John Crispin <john@phrozen.org>