From 643e41c9d661835fa5314aa95e00f7748e4760da Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Tue, 17 Jul 2018 20:59:22 +0200 Subject: [PATCH] batman-adv: Drop manual installation of compat-hacks.h OpenWrt is able since a while to automatically install all files in ./src/ to the PKG_BUILD_DIR. It is no longer necessary to provide special Build/Prepare rules to do so. Signed-off-by: Sven Eckelmann --- batman-adv/Makefile | 5 ----- batman-adv/{files => src}/compat-hacks.h | 0 2 files changed, 5 deletions(-) rename batman-adv/{files => src}/compat-hacks.h (100%) diff --git a/batman-adv/Makefile b/batman-adv/Makefile index a665b5d..8e00931 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -85,11 +85,6 @@ define Build/Compile modules endef -define Build/Prepare - $(call Build/Prepare/Default) - $(CP) ./files/compat-hacks.h $(PKG_BUILD_DIR)/ -endef - define Build/Clean rm -rf $(BUILD_DIR)/$(PKG_NAME)/ endef diff --git a/batman-adv/files/compat-hacks.h b/batman-adv/src/compat-hacks.h similarity index 100% rename from batman-adv/files/compat-hacks.h rename to batman-adv/src/compat-hacks.h -- 2.30.2