From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanley Date: Thu, 17 Dec 2009 18:45:06 +0800 Subject: [Buildroot] update on a file in tslib not reflected after doing "Make" In-Reply-To: <20091217083547.5af1c179@surf> References: <20091215092751.7d9a48fe@surf> <87fx7a64jf.fsf@macbook.be.48ers.dk> <20091217083547.5af1c179@surf> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thanks for the reply. In fact I did try both step ***separately*. 1) mod directly and remove.stamp_built file 2) create patches and rm the tslib folder and all related files (lib file/folder, bin file) in the staging_dir. however in both cases, the changes did not get reflected. I tried by greping the mod statement. eg. printf("xres = %d, yres = %d\n",...); << original printf("test\n\n\n\n\nxres = %d, test yres = %d\n",...); << mod then enter cmd: grep -r "test" --> return nothing enter cmd: grep -r "xres" --> return 'xres = %d, yres = %d' only Cheers, Stanley On Thu, Dec 17, 2009 at 3:35 PM, Thomas Petazzoni < thomas.petazzoni@free-electrons.com> wrote: > Le Wed, 16 Dec 2009 21:35:16 +0100, > Peter Korsgaard a ?crit : > > > If you are putting new .patch files under package/tslib then you need > > to rerun the patch step. The easiest way of doing this is simply to > > delete the build dir (rm -rf output/build/tslib*) > > Yeah, basically: > > *) If you hack directly into output/build/tslib*, then you must remove > the .stamp_built stamp file and run make again. This will restart > the compile process at the build step of tslib (but will *not* > reconfigure tslib, so if you made any modifications at the > configure level, it won't work) > > *) If you add new patches to package/tslib/, then as Peter said, the > easiest way is to rm -rf output/build/tslib. > > Cheers, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers and embedded Linux development, > consulting, training and support. > http://free-electrons.com > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > -------------- next part -------------- An HTML attachment was scrubbed... URL: