goahead-mbedtls.me 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. goahead-mbedtls.me -- MbedTLS Component for the MPR
  3. */
  4. Me.load({
  5. targets: {
  6. mbedtls: {
  7. description: 'MbedTLS Support',
  8. configurable: true,
  9. ifdef: [ 'ssl' ],
  10. conflicts: [ 'openssl', 'matrixssl', 'nanossl' ]
  11. depends: [ 'libgoahead-mbedtls' ],
  12. location: '${SRC}/goahead-mbedtls',
  13. '-compiler': [
  14. '-Wall',
  15. '-Wshorten-64-to-32',
  16. '-W3',
  17. ],
  18. '+defines': [
  19. '-D_FILE_OFFSET_BITS=64'
  20. ]
  21. },
  22. 'libgoahead-mbedtls': {
  23. description: 'GoAhead MbedTLS Interface',
  24. type: 'lib',
  25. static: true,
  26. path: '${BIN}/libgoahead-mbedtls${ARLIB}',
  27. ifdef: [ 'mbedtls' ],
  28. sources: [ '*.c' ],
  29. depends: [ 'libmbedtls' ],
  30. '-compiler': [
  31. '-Wall',
  32. '-Wshorten-64-to-32',
  33. '-W3',
  34. ],
  35. '+defines': [
  36. '-D_FILE_OFFSET_BITS=64'
  37. ]
  38. }
  39. },
  40. usage: {
  41. 'mbedtls.compact': 'Build a compact edition of MbedTLS',
  42. 'mbedtls.aesRomTables': 'Put AES tables in rom',
  43. 'mbedtls.arc4': 'Enable/Disable ARC4 ciphers',
  44. 'mbedtls.camellia': 'Enable/Disable Camellia ciphers',
  45. 'mbedtls.cbc': 'Enable/Disable CBC ciphers',
  46. 'mbedtls.ccm': 'Enable/Disable CCM ciphers',
  47. 'mbedtls.des': 'Enable/Disable DES ciphers',
  48. 'mbedtls.padlock': 'Enable/Disable Padlock support',
  49. 'mbedtls.psk': 'Enable/Disable Pre-Shared Keys',
  50. 'mbedtls.xtea': 'Enable/Disable XTEA',
  51. }
  52. })