component.mk 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. # Component Makefile
  22. #
  23. COMPONENT_ADD_INCLUDEDIRS := . ./include
  24. COMPONENT_ADD_INCLUDEDIRS += "$ENV{IDF_PATH}/components/freertos/include/freertos"
  25. # COMPONENT_ADD_INCLUDEDIRS += "$ENV{IDF_PATH}/soc/esp32s3/include/soc"
  26. COMPONENT_SRCDIRS := src wolfcrypt/src
  27. COMPONENT_SRCDIRS += wolfcrypt/src/port/Espressif
  28. COMPONENT_SRCDIRS += wolfcrypt/src/port/atmel
  29. COMPONENT_SRCDIRS += wolfcrypt/benchmark
  30. COMPONENT_SRCDIRS += wolfcrypt/test
  31. CFLAGS +=-DWOLFSSL_USER_SETTINGS
  32. COMPONENT_OBJEXCLUDE := wolfcrypt/src/aes_asm.o
  33. COMPONENT_OBJEXCLUDE += wolfcrypt/src/evp.o
  34. COMPONENT_OBJEXCLUDE += wolfcrypt/src/misc.o
  35. COMPONENT_OBJEXCLUDE += src/bio.o