blob: 712d858dc0d8cbc5cf47fa6941a22297935b7b35 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DISABLE_STATIC ?= " --disable-static"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002
3# qemu aborts on unrecognised option
4DISABLE_STATIC_pn-qemu = ""
5DISABLE_STATIC_pn-qemu-native = ""
6DISABLE_STATIC_pn-nativesdk-qemu = ""
Brad Bishop19323692019-04-05 15:28:33 -04007DISABLE_STATIC_pn-qemu-system-native = ""
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008# pciutils fails build
9DISABLE_STATIC_pn-pciutils = ""
10# libcap aborts on unrecognised option
11DISABLE_STATIC_pn-libcap = ""
12DISABLE_STATIC_pn-libcap-native = ""
13DISABLE_STATIC_pn-nativesdk-libcap = ""
14# libpcap aborts on unrecognised option
15DISABLE_STATIC_pn-libpcap = ""
16# needed by gdb
17DISABLE_STATIC_pn-readline = ""
18# needed by pseudo
19DISABLE_STATIC_pn-sqlite3 = ""
20DISABLE_STATIC_pn-sqlite3-native = ""
21DISABLE_STATIC_pn-nativesdk-sqlite3 = ""
22# openjade/sgml-common have build issues without static libs
23DISABLE_STATIC_pn-sgml-common-native = ""
24DISABLE_STATIC_pn-openjade-native = ""
25# openssl has build issues without static libs
26DISABLE_STATIC_pn-openssl = ""
27DISABLE_STATIC_pn-openssl-native = ""
28DISABLE_STATIC_pn-nativesdk-openssl = ""
Brad Bishopd7bf8c12018-02-25 22:55:05 -050029DISABLE_STATIC_pn-openssl10 = ""
30DISABLE_STATIC_pn-openssl10-native = ""
31DISABLE_STATIC_pn-nativesdk-openssl10 = ""
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032# libssp-static-dev included in build-appliance
33DISABLE_STATIC_pn-gcc-runtime = ""
34# libusb1-native is used to build static dfu-util-native
35DISABLE_STATIC_pn-libusb1-native = ""
36
37EXTRA_OECONF_append = "${DISABLE_STATIC}"
38
Brad Bishop6e60e8b2018-02-01 10:27:11 -050039EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080040EXTRA_OECMAKE_append_pn-libjpeg-turbo = " -DENABLE_STATIC=False"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050041
42EXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
43EXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
44EXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"