Revision: 1672 Author: teawater Date: Tue Aug 13 06:50:11 2013 Log: Add new way for get Linux kernel source http://code.google.com/p/kgtp/source/detail?r=1672 Modified: /wiki/HOWTO.wiki /wiki/HOWTOCN.wiki ======================================= --- /wiki/HOWTO.wiki Mon Aug 12 18:03:05 2013 +++ /wiki/HOWTO.wiki Tue Aug 13 06:50:11 2013 @@ -1,5 +1,5 @@ #labels Phase-QA,Phase-Deploy -Update in 2013-06-26 +Update in 2013-08-13 <wiki:toc max_depth="5" /> = What is KGTP =*KGTP* is a flexible, lightweight and realtime *Linux* (include *Android*) *debugger* and *tracer*.<br>
@@ -113,6 +113,23 @@ }}} ===== Install the Linux kernel source ===== + +====== New way ====== +Install package that we need: +{{{ +sudo apt-get install dpkg-dev +}}} +<br> + +Get the Linux kernel source: +{{{ +apt-get source linux-image-$(uname -r) +}}} +Then you can find Linux kernel directory in current directory. +<br> + +Move this directory to "/build/buildd/". +====== Old way ====== * Install the source package: {{{ sudo apt-get install linux-source ======================================= --- /wiki/HOWTOCN.wiki Tue Aug 13 01:18:38 2013 +++ /wiki/HOWTOCN.wiki Tue Aug 13 06:50:11 2013 @@ -1,5 +1,5 @@ #labels Phase-QA,Phase-Deploy -Update in 2013-06-26 +Update in 2013-08-13 <wiki:toc max_depth="5" /> = 什么是KGTP =*KGTP* 是一个 灵活,轻量级,实时 *Linux* (包括 *Android*) *调试器* 和 *跟 踪器* 。<br>
@@ -112,6 +112,22 @@ }}} ===== 安装内核源码 ===== +====== 新方法 ====== +安装需要的软件包: +{{{ +sudo apt-get install dpkg-dev +}}} +<br> + +取得源码: +{{{ +apt-get source linux-image-$(uname -r) +}}} +则在当前目录找到内核源码目录。 +<br> + +移动这个目录到"/build/buildd/"中。 +====== 老方法 ====== * 安装源码包: {{{ sudo apt-get install linux-source