blob: cdc53916d07c7fc5c4d60d863ae8ad76e0b73f46 [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 = ""
7# pciutils fails build
8DISABLE_STATIC_pn-pciutils = ""
9# libcap aborts on unrecognised option
10DISABLE_STATIC_pn-libcap = ""
11DISABLE_STATIC_pn-libcap-native = ""
12DISABLE_STATIC_pn-nativesdk-libcap = ""
13# libpcap aborts on unrecognised option
14DISABLE_STATIC_pn-libpcap = ""
15# needed by gdb
16DISABLE_STATIC_pn-readline = ""
17# needed by pseudo
18DISABLE_STATIC_pn-sqlite3 = ""
19DISABLE_STATIC_pn-sqlite3-native = ""
20DISABLE_STATIC_pn-nativesdk-sqlite3 = ""
21# openjade/sgml-common have build issues without static libs
22DISABLE_STATIC_pn-sgml-common-native = ""
23DISABLE_STATIC_pn-openjade-native = ""
24# openssl has build issues without static libs
25DISABLE_STATIC_pn-openssl = ""
26DISABLE_STATIC_pn-openssl-native = ""
27DISABLE_STATIC_pn-nativesdk-openssl = ""
Brad Bishopd7bf8c12018-02-25 22:55:05 -050028DISABLE_STATIC_pn-openssl10 = ""
29DISABLE_STATIC_pn-openssl10-native = ""
30DISABLE_STATIC_pn-nativesdk-openssl10 = ""
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031# libssp-static-dev included in build-appliance
32DISABLE_STATIC_pn-gcc-runtime = ""
33# libusb1-native is used to build static dfu-util-native
34DISABLE_STATIC_pn-libusb1-native = ""
35
36EXTRA_OECONF_append = "${DISABLE_STATIC}"
37
Brad Bishop6e60e8b2018-02-01 10:27:11 -050038EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080039EXTRA_OECMAKE_append_pn-libjpeg-turbo = " -DENABLE_STATIC=False"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050040
41EXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
42EXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
43EXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"