diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/ti-pdk.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass index ab730a90..540a665c 100644 --- a/classes/ti-pdk.bbclass +++ b/classes/ti-pdk.bbclass | |||
@@ -59,17 +59,24 @@ TI_PDK_LIMIT_SOCS ?= "" | |||
59 | TI_PDK_LIMIT_BOARDS ?= "" | 59 | TI_PDK_LIMIT_BOARDS ?= "" |
60 | TI_PDK_MAKE_TARGET ?= "release" | 60 | TI_PDK_MAKE_TARGET ?= "release" |
61 | TI_PDK_EXTRA_MAKE ?= "" | 61 | TI_PDK_EXTRA_MAKE ?= "" |
62 | TI_PDK_DOXYGEN_SUPPORT ?= "1" | ||
62 | 63 | ||
63 | TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}" | 64 | TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}" |
64 | 65 | ||
65 | PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}" | 66 | PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}" |
66 | PARALLEL_MAKE = "" | 67 | PARALLEL_MAKE = "" |
67 | 68 | ||
69 | def get_doxygen_support(d): | ||
70 | if d.getVar('TI_PDK_DOXYGEN_SUPPORT', True) == '1': | ||
71 | return '' | ||
72 | return 'DOXYGEN_SUPPORT=no' | ||
73 | |||
68 | EXTRA_OEMAKE = " \ | 74 | EXTRA_OEMAKE = " \ |
69 | LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \ | 75 | LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \ |
70 | LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \ | 76 | LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \ |
71 | LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \ | 77 | LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \ |
72 | ${TI_PDK_EXTRA_MAKE} \ | 78 | ${TI_PDK_EXTRA_MAKE} \ |
79 | ${@get_doxygen_support(d)} \ | ||
73 | " | 80 | " |
74 | 81 | ||
75 | do_configure() { | 82 | do_configure() { |