mirror of https://github.com/OpenIPC/firmware.git
Select patch by libc type
parent
2a757c3a19
commit
043e760840
|
@ -14,10 +14,20 @@ LIBEVENT_OPENIPC_LICENSE_FILES = LICENSE
|
||||||
# their special autogen.sh script, and have custom target and staging
|
# their special autogen.sh script, and have custom target and staging
|
||||||
# installation commands.
|
# installation commands.
|
||||||
|
|
||||||
|
define LIBEVENT_OPENIPC_RUN_CRUTCH
|
||||||
|
cd $(@D) && patch -i $(TOPDIR)/../general/package/libevent-openipc/crutch/0001-libevent-mbedtls.patch
|
||||||
|
endef
|
||||||
|
|
||||||
define LIBEVENT_OPENIPC_RUN_AUTOGEN
|
define LIBEVENT_OPENIPC_RUN_AUTOGEN
|
||||||
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_MUSL),y)
|
||||||
|
LIBEVENT_OPENIPC_PRE_CONFIGURE_HOOKS += LIBEVENT_OPENIPC_RUN_CRUTCH LIBEVENT_OPENIPC_RUN_AUTOGEN
|
||||||
|
else
|
||||||
LIBEVENT_OPENIPC_PRE_CONFIGURE_HOOKS += LIBEVENT_OPENIPC_RUN_AUTOGEN
|
LIBEVENT_OPENIPC_PRE_CONFIGURE_HOOKS += LIBEVENT_OPENIPC_RUN_AUTOGEN
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
LIBEVENT_OPENIPC_CONF_OPTS = \
|
LIBEVENT_OPENIPC_CONF_OPTS = \
|
||||||
--disable-libevent-regress \
|
--disable-libevent-regress \
|
||||||
|
|
Loading…
Reference in New Issue