Hardware Reference
In-Depth Information
Solution
Create a patch file that contains just the changes you have made. Before making your
changes, check out a new branch:
host$ cd bb-kernel/KERNEL
host$ git status
# On branch master
nothing to commit (working directory clean)
Good, so far no changes have been made. Now, create a new branch:
host$ git checkout -b hello1
host$ git status
# On branch hello1
nothing to commit (working directory clean)
You've created a new branch called hello1 and checked it out. Now, make whatever
changes to the kernel you want. I did some work with a simple character driver that we can
use as an example:
host$ cd bb-kernel/KERNEL/drivers/char/
host$ git status
# On branch hello1
# Changes not staged for commit:
# (use "git add file..." to update what will be committed)
# (use "git checkout -- file..." to discard changes in working
directory)
#
# modified: Kconfig
# modified: Makefile
#
# Untracked files:
# (use "git add file..." to include in what will be committed)
#
# examples/
no changes added to commit (use "git add" and/or "git commit -a")
Add the files that were created and commit them:
Search WWH ::




Custom Search