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 = ""
7DISABLE_STATIC_pn-qemu-system-native = ""
8# 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
36EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
37EXTRA_OECMAKE_append_pn-libjpeg-turbo = " -DENABLE_STATIC=False"
38
39EXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
40EXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
41EXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"
42