portmap: fix clean target to actually clean
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 14:28:44 +0000 (09:28 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 19 Jan 2011 21:20:54 +0000 (22:20 +0100)
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/portmap/portmap.mk

index bebafce3763b0d71de48c635cdcd0961de2bbe9b..e9968243076fb9706903541a1b26b1fec9e5fa90 100644 (file)
@@ -19,6 +19,10 @@ define PORTMAP_BUILD_CMDS
        $(MAKE) CC="$(TARGET_CC)" -C $(@D) $(PORTMAP_FLAGS)
 endef
 
+define PORTMAP_CLEAN_CMDS
+       $(MAKE) -C $(@D) clean
+endef
+
 define PORTMAP_INSTALL_TARGET_CMDS
        for sbin in $(PORTMAP_SBINS); do \
                $(INSTALL) -D $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin; \