mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Set patch parameters
@ 2013-10-02 13:20 Pascal K
  2013-10-03 18:22 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: Pascal K @ 2013-10-02 13:20 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1022 bytes --]

Hello everyone,

I am creating a patch accross several folders.

For this I use:

diff -ruN ${FOLDER1} ${FOLDER2} > file.patch


which fails with error:

applying '0039-pcm051-Add-pin-mux-for-user-BNTs.patch'
patching file arch/arm/mach-omap2/board-pcm051.c
Hunk #1 succeeded at 389 (offset 6 lines).
patching file arch/arm/mach-omap2/mux33xx.c
applying '0040-file.patch'
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN
/opt/PHYTEC_BSPs/phyCORE-AM335x/platform-phyCORE-AM335x/build-target/linux-3.2/drivers/leds/Kconfig
/opt/temp/Diff/leds_new/Kconfig
|---
/opt/PHYTEC_BSPs/phyCORE-AM335x/platform-phyCORE-AM335x/build-target/linux-3.2/drivers/leds/Kconfig
2012-01-05
00:55:44.000000000 +0100
|+++ /opt/temp/Diff/leds_new/Kconfig 2013-09-30 11:56:20.300166000 +0200



Now I wan't to set the option -p0 for applying the patch, but where is the
correct point for invoking this parameter?

Best regards,
Pascal

[-- Attachment #1.2: Type: text/html, Size: 1526 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-03 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02 13:20 [ptxdist] Set patch parameters Pascal K
2013-10-03 18:22 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox