RobertCNelson / linux-dev

MIT License
150 stars 96 forks source link

Customisation #21

Closed leearmstrong closed 10 years ago

leearmstrong commented 10 years ago

Hello,

What is the best way to apply some customisation to the source?

I want to apply some data similar to http://mythopoeic.org/pi-ntp/ to enable GPIO 31 as a PPS source and think that the build scripts here are overwriting my changes. Is there a way of me making changes that will then be compiled in?

RobertCNelson commented 10 years ago

Setup Tree:

./build_kernel.sh
(it not always obvious, but once it starts building HOSTCC/CC/etc, you can cancel the build)

Make Changes:

./tools/rebuild.sh

Test, make more changes:

./tools/rebuild.sh
leearmstrong commented 10 years ago

Thanks Robert, I am actually using the build_deb.sh, how does that fit into the workflow?

RobertCNelson commented 10 years ago

Replace build_kernel = build_deb...

There's a ./tools/rebuild_deb.sh

leearmstrong commented 10 years ago

Silly me, I didn't see them in the /tools directory. Many thanks.

RobertCNelson commented 10 years ago

They were 'hidden' under the tools directory as i had gotten some interesting build reports, as they are designed to leave the KERNEL directory alone.. So if it wasn't pre-populated, well...