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# openjade/sgml-common have build issues without static libs
19DISABLE_STATIC:pn-sgml-common-native = ""
20DISABLE_STATIC:pn-openjade-native = ""
21# openssl has build issues without static libs
22DISABLE_STATIC:pn-openssl = ""
23DISABLE_STATIC:pn-openssl-native = ""
24DISABLE_STATIC:pn-nativesdk-openssl = ""
25# libssp-static-dev included in build-appliance
26DISABLE_STATIC:pn-gcc-runtime = ""
27# libusb1-native is used to build static dfu-util-native
28DISABLE_STATIC:pn-libusb1-native = ""
29
30EXTRA_OECONF:append = "${DISABLE_STATIC}"
31
32EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True"
33EXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False"
34
35EXCONFIG_ARGS:append:pn-ncurses = " --without-normal"
36EXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal"
37EXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal"
38