mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
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:
committed by
Peter Korsgaard
parent
e055aea216
commit
0849e8193e
@@ -38,5 +38,5 @@ define LIBV4L_INSTALL_TARGET_CMDS
|
||||
DESTDIR=$(TARGET_DIR) $(LIBV4L_MAKE_OPTS) install; done
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS,package,libv4l))
|
||||
$(eval $(call GENTARGETS))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user