History

tracing: Create output file from cmd_check_undefined

As the output file is currently never created, the check will run every time, even if the inputs have not changed. Create an empty output file which allows make to skip the execution when it is not necessary.

Thomas Weißschuh committed 5 months ago

Commit 057caac1 parent a0a2f421 file · +2 −1Browse files

Unified · Split

kernel/trace/Makefile+2−1
@@ -154,7 +154,8 @@ quiet_cmd_check_undefined = NM $< · 153 unmodified lines
154154 echo "Unexpected symbols in $<:" >&2; \
155155 echo "$$undefsyms" >&2; \
156156 false; \
157− fi
157+ fi; \
158+ touch $@
158159
159160 $(obj)/%.o.checked: $(obj)/%.o $(obj)/undefsyms_base.o FORCE
160161 $(call if_changed,check_undefined)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t