1DISABLE_STATIC = " --disable-static"
2
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 = ""
28DISABLE_STATIC_pn-openssl10 = ""
29DISABLE_STATIC_pn-openssl10-native = ""
30DISABLE_STATIC_pn-nativesdk-openssl10 = ""
31# 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
38EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
39
40EXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
41EXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
42EXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"
43