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/scons/scons.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/scons') diff --git a/package/scons/scons.mk b/package/scons/scons.mk index f8fe84b3a..73c68ed96 100644 --- a/package/scons/scons.mk +++ b/package/scons/scons.mk @@ -10,4 +10,4 @@ define HOST_SCONS_INSTALL_CMDS (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr) endef -$(eval $(call GENTARGETS,package,scons,host)) +$(eval $(call GENTARGETS,host)) -- cgit v1.2.3