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
@@ -29,7 +29,7 @@ define AT91BOOTSTRAP_INSTALL_IMAGES_CMDS
|
||||
cp $(@D)/$(AT91BOOTSTRAP_BINARY) $(BINARIES_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS,boot,at91bootstrap))
|
||||
$(eval $(call GENTARGETS))
|
||||
|
||||
ifeq ($(BR2_TARGET_AT91BOOTSTRAP),y)
|
||||
# we NEED a board name unless we're at make source
|
||||
|
||||
Reference in New Issue
Block a user