[Buildroot] [PATCH 08/15] package: remove useless arguments from AUTOTARGETS

Peter Korsgaard jacmet at uclibc.org
Sat Sep 17 06:36:17 UTC 2011


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Thanks to the pkgdir and pkgname functions, we can rewrite the
 Thomas> AUTOTARGETS macro in a way that avoids the need for each package to
 Thomas> repeat its name and the directory in which it is present.


 Thomas> diff --git a/package/fuse/libfuse.mk b/package/fuse/libfuse.mk
 Thomas> index 13a5194..6c71682 100644
 Thomas> --- a/package/fuse/libfuse.mk
 Thomas> +++ b/package/fuse/libfuse.mk
 Thomas> @@ -27,4 +27,4 @@ define LIBFUSE_CLEAN_CMDS
 Thomas>  	rm -f $(TARGET_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/lib/libfuse.so*
 Thomas>  endef
 
 Thomas> -$(eval $(call AUTOTARGETS,package,libfuse))
 Thomas> +$(eval $(call AUTOTARGETS))

Does those functions do the right thing here or do we need to rename the
directory to libfuse?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list