- create a new directory (e.g.
/kernel/somepackage) in /kernel/ for your sub-package (somepackage)
- place all the necessary sources and headers there (
/kernel/somepackage)
git add all new sources and headers
- copy
/kernel/sample/Makefile.am and adapt it:
- replace sample with your sub-package name (e.g.
_libsample_ with _libsomepackage_)
- update
libsomepackage_la_SOURCES list
- update
libsomepackage_la_include_HEADERS and libsomepackage_la_includedir
git add this new Makefile.am
- change
/configure.ac and /kernel/Makefile.am similar to SAMPLE (NOTE: use your sub-package name somepackage instead of sample)
- commit all the changes and test it on TC, e.g. as indicated by our Development Model