[Buildroot] Makefile.autotools.in problems

Daniel Laird daniel.j.laird at nxp.com
Thu Jul 10 07:37:28 UTC 2008


I have a problem with the Makefile.autotools.in when it does the patch
target.

The target creates a NAMEVER string (pkg_name-version).  It then checks to
see if it has any version specific files.  i.e pango-1.19.3.*.patch.
If it has is applies them and exits. (appies no generic patches)

The problem is that if I bounce the version to 1.22.0.  It does the check
and decides there are no version specific patches.  It then applies all
patches in the directory regardless.

This is only a problem as I have not deleted patches associated with an old
version.  
However I wanted to raise the issue in case it was originally planned that
you could have multiple patches in the directory for different versions and
it would apply only those patches that match.

Perhaps we could have a PKG_STRICT_PATCH variable.  That if set to true
would only apply patches that match the version string, if not set it would
apply all patches.

Any ideas, opinions?
Cheers
Dan


-- 
View this message in context: http://www.nabble.com/Makefile.autotools.in-problems-tp18377517p18377517.html
Sent from the BuildRoot mailing list archive at Nabble.com.




More information about the buildroot mailing list