From 387e2d55ccf8b28d004c00c069ee0ae48ea8d962 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 25 Dec 2016 17:43:31 +0100 Subject: [PATCH] libcoap: fix PKG_BUILD_DIR libcoap is not building in LEDE any more because it is extracted to /libcoap/ and the package makefiles try to access it at /libcoap-2da31de732c0e51a9bc9e1d4aea21e25da89cf87/. This patch defines a PKG_BUILD_DIR variable to make it use /libcoap/ without the hash. Signed-off-by: Hauke Mehrtens --- libs/libcoap/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libcoap/Makefile b/libs/libcoap/Makefile index d8e49feda..fb220a9ee 100644 --- a/libs/libcoap/Makefile +++ b/libs/libcoap/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libcoap -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/obgm/libcoap @@ -20,6 +20,8 @@ PKG_MAINTAINER:=Anton Glukhov PKG_LICENSE:=GPL-2.0+ BSD-2-Clause PKG_LICENSE_FILES:=COPYING LICENSE.GPL LICENSE.BSD +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + PKG_FIXUP:=autoreconf PKG_INSTALL:=1