From 0849e8193ef429f29945b8c2a54eafc8635e0969 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 29 Sep 2011 21:57:42 +0200 Subject: package: remove useless arguments from GENTARGETS Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/cloop/cloop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/cloop') diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index fa47a5f5f..52567dd95 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -14,5 +14,5 @@ define HOST_CLOOP_INSTALL_CMDS $(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin endef -$(eval $(call GENTARGETS,package,cloop)) -$(eval $(call GENTARGETS,package,cloop,host)) +$(eval $(call GENTARGETS)) +$(eval $(call GENTARGETS,host)) -- cgit v1.2.3-55-g7522