Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com>
---
 Makefile                                |  2 +-
 exported_symbols/osv_module_api.symbols | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 exported_symbols/osv_module_api.symbols

diff --git a/Makefile b/Makefile
index a0878787..2f249ee4 100644
--- a/Makefile
+++ b/Makefile
@@ -1970,7 +1970,7 @@ else
 linker_archives_options = --whole-archive $(libstdc++.a) $(libgcc_eh.a) 
$(boost-libs) --no-whole-archive $(libgcc.a)
 endif
 
-$(out)/version_script: exported_symbols/$(arch)/*.symbols
+$(out)/version_script: exported_symbols/*.symbols 
exported_symbols/$(arch)/*.symbols
        $(call quiet, scripts/generate_version_script.sh $(out)/version_script, 
GEN version_script)
 
 $(out)/loader.elf: $(stage1_targets) arch/$(arch)/loader.ld $(out)/bootfs.o 
$(loader_options_dep)
diff --git a/exported_symbols/osv_module_api.symbols 
b/exported_symbols/osv_module_api.symbols
new file mode 100644
index 00000000..2ba5050c
--- /dev/null
+++ b/exported_symbols/osv_module_api.symbols
@@ -0,0 +1,10 @@
+osv_cmdline
+osv_current_app_on_termination_request
+osv_debug_buffer
+osv_debug_enabled
+osv_firmware_vendor
+osv_get_all_app_threads
+osv_get_all_threads
+osv_hypervisor_name
+osv_processor_features
+osv_version
-- 
2.31.1

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/20220117055538.139407-2-jwkozaczuk%40gmail.com.

Reply via email to