libcoap: fix PKG_BUILD_DIR 3702/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 25 Dec 2016 16:43:31 +0000 (17:43 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 25 Dec 2016 16:56:09 +0000 (17:56 +0100)
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 <hauke@hauke-m.de>
libs/libcoap/Makefile

index d8e49feda84d4a791962d6a2a8be21e11ffde217..fb220a9ee13aa492b16ab835443266e8dd51c8a5 100644 (file)
@@ -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 <anton.a.glukhov@gmail.com>
 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