Skip to content

Commit

Permalink
build: remove more absolute paths from dependency tracking files
Browse files Browse the repository at this point in the history
d6b12ad ("DEPS handling: Remove absolute paths from references to
cwd") took care of massaging the dependencies of the output file, but
for our passing of -MP to the compiler to take effect the same needs to
be done on the "phony" rules that the compiler emits.

Signed-off-by: Jan Beulich <[email protected]>
Reviewed-by: Ian Jackson <[email protected]>
Release-Acked-by: Ian Jackson <[email protected]>
  • Loading branch information
jbeulich committed Feb 24, 2021
1 parent 5d94433 commit 10bb8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ DEPS_INCLUDE = $(addsuffix .d2, $(basename $(wildcard $(DEPS))))
DEPS_RM = $(DEPS) $(DEPS_INCLUDE)

%.d2: %.d
sed "s! $$PWD/! !" $^ >$@.tmp && mv -f $@.tmp $@
sed "s!\(^\| \)$$PWD/! !" $^ >$@.tmp && mv -f $@.tmp $@

include $(XEN_ROOT)/config/$(XEN_OS).mk
include $(XEN_ROOT)/config/$(XEN_TARGET_ARCH).mk
Expand Down

0 comments on commit 10bb8aa

Please sign in to comment.