blob: 4141ecb7654518a8ccbf946aa742dcbc562a9798 [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 = ""
29# libssp-static-dev included in build-appliance
30DISABLE_STATIC_pn-gcc-runtime = ""
31# libusb1-native is used to build static dfu-util-native
32DISABLE_STATIC_pn-libusb1-native = ""
33
34EXTRA_OECONF_append = "${DISABLE_STATIC}"
35
Brad Bishop6e60e8b2018-02-01 10:27:11 -050036EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080037EXTRA_OECMAKE_append_pn-libjpeg-turbo = " -DENABLE_STATIC=False"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050038
39EXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
40EXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
41EXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"