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/bzip2/bzip2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/bzip2') diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk index 123e579fc..d3bb2b04a 100644 --- a/package/bzip2/bzip2.mk +++ b/package/bzip2/bzip2.mk @@ -101,5 +101,5 @@ define HOST_BZIP2_INSTALL_CMDS $(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install endef -$(eval $(call GENTARGETS,package,bzip2)) -$(eval $(call GENTARGETS,package,bzip2,host)) \ No newline at end of file +$(eval $(call GENTARGETS)) +$(eval $(call GENTARGETS,host)) \ No newline at end of file -- cgit v1.2.3