summaryrefslogtreecommitdiffstats
path: root/tools/lib/api/Build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/api/Build')
-rw-r--r--tools/lib/api/Build5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lib/api/Build b/tools/lib/api/Build
index 954c644f7ad9..6e2373db5598 100644
--- a/tools/lib/api/Build
+++ b/tools/lib/api/Build
@@ -2,3 +2,8 @@ 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)