libffi: do not build in a special directory
authorRosen Penev <rosenp@gmail.com>
Sat, 8 Feb 2020 00:05:49 +0000 (16:05 -0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 21 Aug 2020 13:26:41 +0000 (15:26 +0200)
There's no need. It also breaks host builds.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 001e9f5081df31a0e9b65dfe8f13cc8519f84437)

libs/libffi/Makefile

index be1763c93dc29ed7620209e58364d394d9db6b03..c625f447d57cef111d9cefbd3a6b1f48d70aa14e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libffi
 PKG_VERSION:=3.2.1
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://sourceware.org/pub/libffi/
@@ -46,15 +46,6 @@ 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) \