Patchwork iproute2: implement IPROUTE2_CLEAN_CMDS

login
register
mail settings
Submitter Stephan Hoffmann
Date Dec. 7, 2012, 1:32 p.m.
Message ID <1354887150-30038-1-git-send-email-sho@relinux.de>
Download mbox | patch
Permalink /patch/204483/
State Rejected
Headers show

Comments

Stephan Hoffmann - Dec. 7, 2012, 1:32 p.m.
Since IPROUTE2_CLEAN_CMDS was missing, make iproute2-clean did
not call "make clean" for iproute2.

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
 package/iproute2/iproute2.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 6f5ee51..da5d7a0 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -45,6 +45,10 @@  define IPROUTE2_BUILD_CMDS
 	$(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
 endef
 
+define IPROUTE2_CLEAN_CMDS
+	$(MAKE) -C $(@D) clean
+endef
+
 define IPROUTE2_INSTALL_TARGET_CMDS
 	$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" SBINDIR=/sbin \
 		DOCDIR=/usr/share/doc/iproute2-$(IPROUTE2_VERSION) \