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 <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:42 +02:00
committed by Peter Korsgaard
parent e055aea216
commit 0849e8193e
107 changed files with 124 additions and 126 deletions

View File

@@ -179,7 +179,7 @@ endef
include linux/linux-ext-*.mk
$(eval $(call GENTARGETS,,linux))
$(eval $(call GENTARGETS))
linux-menuconfig linux-xconfig linux-gconfig linux-nconfig linux26-menuconfig linux26-xconfig linux26-gconfig linux26-nconfig: dirs $(LINUX_DIR)/.stamp_configured
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \