component.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Copyright (C) 2006-2022 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. CFLAGS +=-DWOLFSSL_USER_SETTINGS
  30. COMPONENT_OBJEXCLUDE := wolfcrypt/src/aes_asm.o
  31. COMPONENT_OBJEXCLUDE += wolfcrypt/src/evp.o
  32. COMPONENT_OBJEXCLUDE += wolfcrypt/src/misc.o
  33. COMPONENT_OBJEXCLUDE += src/bio.o