mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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
@@ -17,8 +17,8 @@ HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
||||
|
||||
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,autoconf))
|
||||
$(eval $(call AUTOTARGETS,package,autoconf,host))
|
||||
$(eval $(call AUTOTARGETS))
|
||||
$(eval $(call AUTOTARGETS,host))
|
||||
|
||||
# variables used by other packages
|
||||
AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf
|
||||
|
||||
Reference in New Issue
Block a user