From patchwork Thu Dec 6 06:36:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 17668 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id 9D7F980A66; Thu, 6 Dec 2018 07:36:26 +0100 (CET) Authentication-Results: open-mesh.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=narfation.org header.i=@narfation.org header.b="UrYfL4By"; dkim-atps=neutral Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:4d88:2000:7::2; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver= Received: from v3-1039.vlinux.de (narfation.org [IPv6:2001:4d88:2000:7::2]) by open-mesh.org (Postfix) with ESMTPS id 0152A80677 for ; Thu, 6 Dec 2018 07:36:24 +0100 (CET) Received: from sven-desktop.home.narfation.org (p200300C5970CE6FD0000000000004065.dip0.t-ipconnect.de [IPv6:2003:c5:970c:e6fd::4065]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 04A2A1100DC; Thu, 6 Dec 2018 07:36:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1544078184; bh=8IZ+w+Uo20XHi73K4kmjeTSCSIJHMnmVd+foof+Ofuw=; h=From:To:Cc:Subject:Date:From; b=UrYfL4By/aDaJcuxyUsH5n/CB2X8KKhbw6eXUAi4soyyh92UAFV3SoH8BHmUXPa71 TWgU+YD6oPCy/wp3/v5vWMGQB83kYlga8SboLR05XoaasrBZivryYctPL+MBFOJsFO vqp7Uvu+DjKBSN7W44WPZVXTFyuqqH6O+86oG10I= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 6 Dec 2018 07:36:20 +0100 Message-Id: <20181206063620.5191-1-sven@narfation.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Allow to disable depmod X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" On some build systems, the actual call to depmod is not expected and only the installation of the module is expected. Just allow to overwrite this call with a different (dummy) executable. Signed-off-by: Sven Eckelmann --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d665c0ba..08ac8f65 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,7 @@ export KERNELPATH RM ?= rm -f CP := cp -fpR LN := ln -sf +DEPMOD := depmod -a REVISION= $(shell if [ -d "$(PWD)/.git" ]; then \ echo $$(git --git-dir="$(PWD)/.git" describe --always --dirty --match "v*" |sed 's/^v//' 2> /dev/null || echo "[unknown]"); \ @@ -90,7 +91,7 @@ clean: install: config $(MAKE) -C $(KERNELPATH) $(BUILD_FLAGS) modules_install - depmod -a + $(DEPMOD) config: $(PWD)/gen-compat-autoconf.sh $(PWD)/compat-autoconf.h