#
# libffi
#
-LIBFFI_CONF =
+LIBFFI_CONF_OPTS =
ifeq ($(BOXSERIES), hd1)
- LIBFFI_CONF = --enable-static --disable-shared
+ LIBFFI_CONF_OPTS = --enable-static --disable-shared
endif
$(D)/libffi: $(ARCHIVE)/libffi-$(LIBFFI_VER).tar.gz
$(START_BUILD)
--mandir=/.remove \
--infodir=/.remove \
--datarootdir=/.remove \
- $(LIBFFI_CONF) \
+ $(LIBFFI_CONF_OPTS) \
; \
$(MAKE); \
$(MAKE) install DESTDIR=$(TARGETPREFIX)
echo -e "==> $(TERM_RED)Applying Patch:$(TERM_NORMAL) $$i"; \
patch -p1 < $$i; \
done; \
- ./configure \
+ ./configure $($HOST_CFLAGS) \
--prefix=/usr \
--mandir=/.remove \
--infodir=/.remove \
--datarootdir=/.remove \
- $(LIBFFI_CONF) \
; \
$(MAKE); \
$(MAKE) install DESTDIR=$(HOSTPREFIX)
$(VENV_DIR)/bin/cross-python3 -m pip -v install pip --upgrade
$(TOUCH)
-$(D)/host_python3_crossenv: $(D)/host_python3 $(D)/host_python3_pip | $(TARGETPEFIX)
+$(D)/host_python3_crossenv: $(D)/host_python3 $(D)/host_python3_pip $(D)/python3 | $(TARGETPEFIX)
$(START_BUILD)
@echo "Installing python crossenv."
$(HOSTPREFIX)/usr/bin/pip install crossenv