[U-Boot-Users] need a complete step by step way to create a patch specifically for u-boot
Ben Warren
bwarren at qstreams.com
Wed Apr 4 18:58:30 CEST 2007
James,
On Wed, 2007-04-04 at 10:39 -0600, james pruett wrote:
> Q: How do I make a patch?
> I know the basics, but I just cant get it solid!
> It keeps finding reverse-patches when I test it.
> I need a complete step by step for u-boot specific.
> Heres my guess which doesn't work.
> Thanks for helping
> -jd
>
>
> ls
> u-boot_1.1.3
> u-boot_1.1.3new
>
> rm -rf `find u-boot_1.1.3new -name \*.a`
> rm -rf `find u-boot_1.1.3new -name u-boot`
> rm -rf `find u-boot_1.1.3new -name \*.srec`
> rm -rf `find u-boot_1.1.3new -name \*map`
> rm -f u-boot_1.1.3/include/asm
> diff -pNaur u-boot_1.1.3 u-boot_1.1.3new > patch.patch
>
>
> cd u-boot_1.1.3
> patch -p1 < ../patch.patch
Although it's off-topic to your question, U-boot 1.1.3 is really old.
Get the latest using 'git'. It's available for most host platforms.
The repository is at:
www.denx.de/git/u-boot.git
More on-topic, read this:
http://www.kernel.org/pub/software/scm/git/docs/everyday.html
regards,
Ben
More information about the U-Boot
mailing list