On Thu, Aug 04, 2011 at 02:41:15PM +0200, Mehlan, Markus wrote: > Michael Olbrich wrote: > > On Wed, Aug 03, 2011 at 10:37:54AM +0200, Mehlan, Markus wrote: > >> I have created a new package with ptxdist newpackage > >> src-autoconf-lib. I also use patches with my package. My problem is > >> that the patches work on the source and not on the build directory. > >> The command "ptxdist clean" is not enough to clean the package. Some > >> directories have been created inside the source during "ptxdist go", > >> i.e ".pc, .ptxdits, ~patches". > > > > Why do you need patches if you have the source there already? Either > > commit the changes directly without patches, or use a tarball in > > local_src + patches. > > > I tried to check a newer version of tslib from git. So I made a local > rule with a reference to local_src. I needed some patches from the ptxdist- > -library and I put them into the local patches directory. > > But I have understood that I only can put already patched sources in > local_src or use a tarball.
If you only want to add patches from git, then you should just copy the patches from ptxdist into your BSP and add aditional patches there. No need for a new rules file or stuff in local_src. ptxdist will use <BSP>/patches/tslib-1.0/ if available instead of <PTXDIST>/patches/tslib-1.0/ Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
