11a4b7ee2SBrad BishopDISABLE_STATIC ?= " --disable-static" 2eb8dc403SDave Cobbley 3eb8dc403SDave Cobbley# qemu aborts on unrecognised option 4213cb269SPatrick WilliamsDISABLE_STATIC:pn-qemu = "" 5213cb269SPatrick WilliamsDISABLE_STATIC:pn-qemu-native = "" 6213cb269SPatrick WilliamsDISABLE_STATIC:pn-nativesdk-qemu = "" 7213cb269SPatrick WilliamsDISABLE_STATIC:pn-qemu-system-native = "" 8eb8dc403SDave Cobbley# needed by gdb 9213cb269SPatrick WilliamsDISABLE_STATIC:pn-readline = "" 10eb8dc403SDave Cobbley# openjade/sgml-common have build issues without static libs 11213cb269SPatrick WilliamsDISABLE_STATIC:pn-sgml-common-native = "" 12213cb269SPatrick WilliamsDISABLE_STATIC:pn-openjade-native = "" 13eb8dc403SDave Cobbley# openssl has build issues without static libs 14213cb269SPatrick WilliamsDISABLE_STATIC:pn-openssl = "" 15213cb269SPatrick WilliamsDISABLE_STATIC:pn-openssl-native = "" 16213cb269SPatrick WilliamsDISABLE_STATIC:pn-nativesdk-openssl = "" 17eb8dc403SDave Cobbley# libssp-static-dev included in build-appliance 18213cb269SPatrick WilliamsDISABLE_STATIC:pn-gcc-runtime = "" 19eb8dc403SDave Cobbley# libusb1-native is used to build static dfu-util-native 20213cb269SPatrick WilliamsDISABLE_STATIC:pn-libusb1-native = "" 21*92b42cb3SPatrick Williams# needed by rust 22*92b42cb3SPatrick WilliamsDISABLE_STATIC:pn-musl = "" 23eb8dc403SDave Cobbley 24213cb269SPatrick WilliamsEXTRA_OECONF:append = "${DISABLE_STATIC}" 25eb8dc403SDave Cobbley 26213cb269SPatrick WilliamsEXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" 27213cb269SPatrick WilliamsEXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False" 28595f6308SAndrew GeisslerEXTRA_OECMAKE:append:pn-libjpeg-turbo-native = " -DENABLE_STATIC=False" 29eb8dc403SDave Cobbley 30213cb269SPatrick WilliamsEXCONFIG_ARGS:append:pn-ncurses = " --without-normal" 31213cb269SPatrick WilliamsEXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal" 32213cb269SPatrick WilliamsEXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal" 33