Hi Toan,
happy new year and welcome on the T2 list!
I usually insert a:
hook_add inmake 5 "abort"
into a package .conf and then change into the debug build
environment to edit & compile the parts of project I'm actively
working at that moment, like:
cd src.linux26.*
./debug.sh
cd linux-*
eval $MAKE $makeot
$EDITOR ...
...
I could also come up with some "wait 'till killed" expression
if you prefer to stall the build and let it continue later.
IIRC the linux packages evaluate (all?) hooks despite
still using a custmain function.
PS: if you use fixfile, instead of just your $EDITOR, you get
a .vanilla copy and can use fixfilediff inside the T2 debug
environment in order to create the diff (patch) of the changes
you made.
I hope this helps,
René Rebe
On 05.01.2009, at 16:57, Toan Pham wrote:
Hi,
I am working on a kernel driver code which involves making
frequent changes to a kernel module and rebuild the kernel.
I am aware that one can use patching method but it involves too much
steps
such as: making your changes, find out your changes
from the original source using diff, copy the patch file to
the patch directory, rebuild the kernel.
I want to know if there is a quicker way, like while building the
linux26 package; your pause the process after the package is
extracted to "src.linux26.xxx........", go into the source build
folder, edit the file and continue with the build process.
I tried adding "hook_add premake 5 'read'" for a attempt to pause the
build process so that I can edit the source files but it did not
work; perhaps
because linux26 package uses cust_main build script.
Would you give me some ideas please.
Happy new year!
Toan
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2