- Code: Select all
Applying ./patches/0306-spi-flash-factory-id.patch using plaintext:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/drivers/mtd/devices/m25p80.c
|+++ b/drivers/mtd/devices/m25p80.c
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
Patch failed! Please fix ./patches/0306-spi-flash-factory-id.patch!
make[3]: *** [Makefile:79: /root/vocore/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/mt7628-p4rev-120395/.prepared_b8a4efb5fe3d36e23efdac873e7137a7_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/root/vocore/openwrt/package/kernel/mt7628'
time: package/kernel/mt7628/compile#0.37#0.08#0.42
make[2]: *** [package/Makefile:109: package/kernel/mt7628/compile] Error 2
make[2]: Leaving directory '/root/vocore/openwrt'
make[1]: *** [package/Makefile:103: /root/vocore/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/root/vocore/openwrt'
make: *** [/root/vocore/openwrt/include/toplevel.mk:218: world] Error 2
What exactly is this error and why is it happening?