package: remove useless arguments from AUTOTARGETS

Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS 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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni
2011-09-29 21:57:43 +02:00
committed by Peter Korsgaard
parent 0849e8193e
commit 300f9c9c9d
587 changed files with 660 additions and 663 deletions

View File

@@ -50,7 +50,7 @@ endef
GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS
$(eval $(call AUTOTARGETS,package,gdk-pixbuf))
$(eval $(call AUTOTARGETS))
HOST_GDK_PIXBUF_CONF_OPT = \
--without-libjpeg \
@@ -58,4 +58,4 @@ HOST_GDK_PIXBUF_CONF_OPT = \
HOST_GDK_PIXBUF_DEPENDENCIES = host-libpng
$(eval $(call AUTOTARGETS,package,gdk-pixbuf,host))
$(eval $(call AUTOTARGETS,host))