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/python-serial/python-serial.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/python-serial') diff --git a/package/python-serial/python-serial.mk b/package/python-serial/python-serial.mk index 048930bae..4c8a891f5 100644 --- a/package/python-serial/python-serial.mk +++ b/package/python-serial/python-serial.mk @@ -18,4 +18,4 @@ define PYTHON_SERIAL_INSTALL_TARGET_CMDS (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) endef -$(eval $(call GENTARGETS,package,python-serial)) +$(eval $(call GENTARGETS)) -- cgit v1.2.3