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# needed by gdb
9DISABLE_STATIC:pn-readline = ""
10# openjade/sgml-common have build issues without static libs
11DISABLE_STATIC:pn-sgml-common-native = ""
12DISABLE_STATIC:pn-openjade-native = ""
13# openssl has build issues without static libs
14DISABLE_STATIC:pn-openssl = ""
15DISABLE_STATIC:pn-openssl-native = ""
16DISABLE_STATIC:pn-nativesdk-openssl = ""
17# libssp-static-dev included in build-appliance
18DISABLE_STATIC:pn-gcc-runtime = ""
19# libusb1-native is used to build static dfu-util-native
20DISABLE_STATIC:pn-libusb1-native = ""
21
22EXTRA_OECONF:append = "${DISABLE_STATIC}"
23
24EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True"
25EXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False"
26EXTRA_OECMAKE:append:pn-libjpeg-turbo-native = " -DENABLE_STATIC=False"
27
28EXCONFIG_ARGS:append:pn-ncurses = " --without-normal"
29EXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal"
30EXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal"
31