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# needed by rust 22DISABLE_STATIC:pn-musl = "" 23 24EXTRA_OECONF:append = "${DISABLE_STATIC}" 25 26EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" 27EXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False" 28EXTRA_OECMAKE:append:pn-libjpeg-turbo-native = " -DENABLE_STATIC=False" 29 30EXCONFIG_ARGS:append:pn-ncurses = " --without-normal" 31EXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal" 32EXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal" 33