From: Felix Fietkau Date: Fri, 6 Jul 2012 09:23:05 +0000 (+0000) Subject: libffi: split build and source directory to work around some makefile bugs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b2940386d138a9d340cd9ebf27907b02036e0897;p=openwrt%2Fsvn-archive%2Fpackages.git libffi: split build and source directory to work around some makefile bugs SVN-Revision: 32632 --- diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile index 65668d2bd..e6bd7a6af 100644 --- a/libs/libffi/Makefile +++ b/libs/libffi/Makefile @@ -40,6 +40,15 @@ A layer must exist above libffi that handles type conversions for values passed between the two languages. endef +CONFIGURE_PATH = build +CONFIGURE_CMD = ../configure +MAKE_PATH = build + +define Build/Configure + mkdir -p $(PKG_BUILD_DIR)/build + $(Build/Configure/Default) +endef + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) \