Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branches: ecsv/master,master
commit 92b6e6eb18c89d892caf7eddbacdf64626790734 Author: Matthias Schiffer mschiffer@universe-factory.net Date: Fri Jan 27 13:23:39 2017 +0100
batman-adv-devel: use kernel-specific PKG_BUILD_DIR
The batman-adv Makefile set a PKG_BUILD_DIR outside of KERNEL_BUILD_DIR; this could lead to batman-adv not being rebuilt when switching targets and thus kernel configurations. This resulted in ABI mismatches and occasionally broke the build with messages like the following:
Package kmod-batman-adv is missing dependencies for the following libraries: crc16.ko
Reported-by: David Lutz kpanic@hirnduenger.de Signed-off-by: Matthias Schiffer mschiffer@universe-factory.net [sven@narfation.org: Re-add PKG_BUILD_DIR to support batman-adv-devel builds] Signed-off-by: Sven Eckelmann sven@narfation.org
92b6e6eb18c89d892caf7eddbacdf64626790734 batman-adv-devel/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/batman-adv-devel/Makefile b/batman-adv-devel/Makefile index aff9ff7..6715154 100644 --- a/batman-adv-devel/Makefile +++ b/batman-adv-devel/Makefile @@ -19,10 +19,10 @@ PKG_SOURCE_URL:=https://git.open-mesh.org/snapshot/ PKG_SOURCE:=$(PKG_BATMAN_FNAME) PKG_LICENSE:=GPL-2.0
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_BATMAN_DIR) - -include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/kernel.mk +include $(INCLUDE_DIR)/package.mk + +PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/$(PKG_BATMAN_DIR)
define KernelPackage/batman-adv-devel URL:=https://www.open-mesh.org/