I have some questions about creating/applying the kernel patch.
I read the wiki article here.
I tried to make some kernel patch myself. here's what i did;
1. make target/linux/{clean,prepare} V=s QUILT=1
2. cd build_dir/the/path/to/my/kernel/
3. quilt push -a
File series fully applied, ends at patch xxxx-some-description.patch
4. quilt new 0223-test-kernel-patch.patch # this is the patch i want to create.
5. quilt edit xxxx.h # made some change
6. quilt diff # patch content displayed as i expected
7. quilt refresh
so far so good, now i can find my patch at:
build_dir/the/path/to/my/kernel/patches/0223-test-kernel-patch.patch
in the wiki page:
Moving the changes back over to the buildroot tree from the build tree is done with:
make target/linux/update package/index V=s
what's "package/index" for?
anyway I did what wiki said, but the patch did not show up under target/linux folder.
did i make some mistakes here?
in the wiki, it also said
Patches should be named with the correct prefix, platform/000-abc.patch or generic/000-abc.patch. If not the update may not work correctly.
I don't understand it. all the existing patches are named like xxxx-some-description.patch .
how could i name my patch to indicate it belongs to a platform, or generic ?
(Last edited by nossiac on 31 Oct 2013, 08:11)