mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Because it uses that function, which would lead every tool using it
to need to link against tools/lib/str_error_r.o.
This fixes building tools/vm/, that links with libapi.
Reported-by: Arjan van de Ven <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: b31e3e3316 ("tools lib api fs: Use str_error_r()")
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
10 lines
195 B
Python
10 lines
195 B
Python
libapi-y += fd/
|
|
libapi-y += fs/
|
|
libapi-y += cpu.o
|
|
libapi-y += debug.o
|
|
libapi-y += str_error_r.o
|
|
|
|
$(OUTPUT)str_error_r.o: ../str_error_r.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,cc_o_c)
|