portmap: fix clean target to actually clean

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>
This commit is contained in:
Mike Frysinger 2011-01-10 09:28:44 -05:00 committed by Peter Korsgaard
parent fef028dbd3
commit 58b34e6a60
1 changed files with 4 additions and 0 deletions

View 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; \