Skip to content

Commit

Permalink
Merge pull request #885 from llange/convert-wolfssh-submodule
Browse files Browse the repository at this point in the history
convert wolfssh to a git submodule
  • Loading branch information
dexterbg committed Apr 29, 2023
2 parents 82e6073 + d2ac327 commit 0fa0b44
Show file tree
Hide file tree
Showing 178 changed files with 32 additions and 68,769 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "vehicle/OVMS.V3/components/zip/libzip"]
path = vehicle/OVMS.V3/components/zip/libzip
url = https://github.com/openvehicles/libzip.git
[submodule "vehicle/OVMS.V3/components/wolfssh/wolfssh"]
path = vehicle/OVMS.V3/components/wolfssh/wolfssh
url = https://github.com/openvehicles/wolfssh.git
19 changes: 19 additions & 0 deletions vehicle/OVMS.V3/components/wolfssh/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set(srcs)
set(include_dirs)

if (CONFIG_OVMS_SC_GPL_WOLF)
list(APPEND srcs "wolfssh/src/internal.c" "wolfssh/src/io.c" "wolfssh/src/keygen.c" "wolfssh/src/log.c" "wolfssh/src/port.c" "wolfssh/src/ssh.c")
list(APPEND include_dirs "wolfssh")
endif ()

# requirements can't depend on config
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${include_dirs}
PRIV_REQUIRES "freertos" "wolfssl"
# WHOLE_ARCHIVE
)

if (CONFIG_OVMS_SC_GPL_WOLF)
component_compile_definitions(WOLFSSL_USER_SETTINGS)
component_compile_options("-Wno-maybe-uninitialized")
endif ()
202 changes: 0 additions & 202 deletions vehicle/OVMS.V3/components/wolfssh/ChangeLog.md

This file was deleted.

12 changes: 0 additions & 12 deletions vehicle/OVMS.V3/components/wolfssh/LICENSING

This file was deleted.

100 changes: 0 additions & 100 deletions vehicle/OVMS.V3/components/wolfssh/Makefile.am

This file was deleted.

0 comments on commit 0fa0b44

Please sign in to comment.