batmand: Drop unused make parameters
authorSven Eckelmann <sven@narfation.org>
Sat, 27 Jul 2019 20:02:50 +0000 (22:02 +0200)
committerSven Eckelmann <sven@narfation.org>
Sat, 27 Jul 2019 20:02:50 +0000 (22:02 +0200)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
batmand/Makefile

index b8520b99afaee69ad83ec18337c55fbcd3f71efa..7f044bd24403236a15a49b077f61ad48a4612e59 100644 (file)
@@ -42,15 +42,10 @@ endef
 
 MAKE_BATMAND_ARGS += \
        EXTRA_CFLAGS='$(TARGET_CFLAGS) $(PKG_EXTRA_CFLAGS)' \
-       CCFLAGS="$(TARGET_CFLAGS)" \
-       OFLAGS="$(TARGET_CFLAGS)" \
        REVISION="$(PKG_REV)" \
        CC="$(TARGET_CC)" \
-       NODEBUG=1 \
        UNAME="Linux" \
-       INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
-       STRIP="/bin/true" \
-       batmand install
+       batmand
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_BATMAND_ARGS)
@@ -58,7 +53,7 @@ endef
 
 define Package/batmand/install
        $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/config $(1)/etc/init.d
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/batmand $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/batmand $(1)/usr/sbin/
        $(INSTALL_BIN) ./files/etc/init.d/batmand $(1)/etc/init.d
        $(INSTALL_DATA) ./files/etc/config/batmand $(1)/etc/config
 endef