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/cmake/cmake.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/cmake') diff --git a/package/cmake/cmake.mk b/package/cmake/cmake.mk index 1b458c219..af88eea82 100644 --- a/package/cmake/cmake.mk +++ b/package/cmake/cmake.mk @@ -17,5 +17,5 @@ define HOST_CMAKE_INSTALL_CMDS $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install endef -$(eval $(call GENTARGETS,package,cmake)) -$(eval $(call GENTARGETS,package,cmake,host)) \ No newline at end of file +$(eval $(call GENTARGETS)) +$(eval $(call GENTARGETS,host)) -- cgit v1.2.3