Hello Maxim, On Wednesday 15 September 2010 08:31:56 Maxim Osipov wrote: > Hello, > > I'm currently adding a new board support for OpenWRT and would like to > use 2.6.35 kernel with only my board patches. However build system > attempts to apply generic patches and fails: > > if [ -s > "/home/maxim/Projects/flexibity/firmware/openwrt/build_dir/linux-flexibity > /linux-2.6.35/patches/series" ]; then (cd > "/home/maxim/Projects/flexibity/firmware/openwrt/build_dir/linux-flexibity > /linux-2.6.35"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt > --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi > Applying patch generic/080-mtd_plat_nand_chip_fixup.patch > patching file include/linux/mtd/nand.h > patching file drivers/mtd/nand/plat_nand.c > Hunk #1 FAILED at 91. > 1 out of 1 hunk FAILED -- rejects in file drivers/mtd/nand/plat_nand.c > > Is there a way to avoid generic patches and apply only the ones > specific to my target?
Right now, generic patches are always applied to: - kernel-headers - target kernel If you want these generic patches not to be applied, you will have to comment line 95 of include/quilt.mk. Another possibility is to use the "external linux kernel tree" option, which prevents any generic nor target specific patches to be applied. In that case your are responsible for the good state of your kernel tree. -- Florian _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
