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:
committed by
Peter Korsgaard
parent
0849e8193e
commit
300f9c9c9d
@@ -48,6 +48,6 @@ define CVS_INSTALL_TARGET_CMDS
|
||||
install -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs
|
||||
endef
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,cvs))
|
||||
$(eval $(call AUTOTARGETS))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user