component.mk 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # Copyright (C) 2006-2024 wolfSSL Inc.
  3. #
  4. # This file is part of wolfSSL.
  5. #
  6. # wolfSSL is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2 of the License, or
  9. # (at your option) any later version.
  10. #
  11. # wolfSSL is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
  19. #/
  20. #
  21. #
  22. # Component Makefile
  23. #
  24. COMPONENT_ADD_INCLUDEDIRS := . ./include
  25. COMPONENT_ADD_INCLUDEDIRS += "$ENV{IDF_PATH}/components/freertos/include/freertos"
  26. # COMPONENT_ADD_INCLUDEDIRS += "$ENV{IDF_PATH}/soc/esp32s3/include/soc"
  27. COMPONENT_SRCDIRS := src wolfcrypt/src
  28. COMPONENT_SRCDIRS += wolfcrypt/src/port/Espressif
  29. COMPONENT_SRCDIRS += wolfcrypt/src/port/atmel
  30. COMPONENT_SRCDIRS += wolfcrypt/benchmark
  31. COMPONENT_SRCDIRS += wolfcrypt/test
  32. CFLAGS +=-DWOLFSSL_USER_SETTINGS
  33. COMPONENT_OBJEXCLUDE := wolfcrypt/src/aes_asm.o
  34. COMPONENT_OBJEXCLUDE += wolfcrypt/src/evp.o
  35. COMPONENT_OBJEXCLUDE += wolfcrypt/src/misc.o
  36. COMPONENT_OBJEXCLUDE += src/bio.o