[OpenWrt-Devel] working with quilt from './staging_dir/host/bin/quilt'

Jo-Philipp Wich jow at openwrt.org
Thu May 21 16:20:01 EDT 2015

> my idea was to use this:
> make target/linux/{clean,prepare} V=s QUILT=1

If the patches all apply despite fuzz:

make target/linux/refresh

If they do not apply:

make target/linux/{clean,prepare} V=s QUILT=1
cd build_dir/target-*/linux-*/linux-*
quilt push -a  (will halt before the failing patch)
quilt push -f  (will forcibly put the broken patch on top of the stack)
quilt edit ... (fixup the broken patch by editing to-be-patched files)
quilt refresh  (will fixup broken patch)
quilt push -a  (will apply remainder of the series)
cd ../../../../
make target/linux/update  (copies current series back)
make target/linux/refresh (rebases all patches in case the new one
                           produced fuzz in subsequent ones)

~ Jow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150521/b7e5733b/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list