Commit Graph

13 Commits

Author SHA1 Message Date
Tim Gardner
c7e05719c5 kernel: use debian build infrastructure to build kernels.
This patch depends on kernel build infrastructure
mentioned in http://codereview.chromium.org/543194/show

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

Review URL: http://codereview.chromium.org/553075
2010-01-26 15:05:10 -07:00
Tim Gardner
dd45d3272f Revert "kernel: Use the debian infrastructure to construct kernel config files"
This is causing some kernel version package issues. Revert until I can
figure out the right fix.

This reverts commit 6eda4bc874427041c5a2eab794eb72284e9dcee7.
2010-01-22 14:40:11 -07:00
Tim Gardner
9ee75d90a3 kernel: Use the debian infrastructure to construct kernel config files
This is the first step towards abandonding make-kpkg. The next
step is to remove the kernel config files under
$(KERNEL_DIR)/files/Config, thereby requiring the use
of config files in $(KERNEL_DIR)/files/debian.chrome/config

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

Review URL: http://codereview.chromium.org/549135
2010-01-22 12:43:21 -07:00
Alexey Marinichev
63c42aa811 Simplified counting CPUs.
Review URL: http://codereview.chromium.org/501153
2009-12-21 11:42:39 -08:00
Bill Richardson
ff8b3d1338 Revert "Changes to support ARM cross compilation."
This reverts commit e61c324991b41ad40e86f5c557a91622d2845b9d.

There are many places where '/x86' is hard-coded into directory paths. All
those places need to be modified before we can change it in just one place.

See http://code.google.com/p/chromium-os/issues/detail?id=1085

Review URL: http://codereview.chromium.org/501066
2009-12-16 15:22:26 -08:00
Brian Daugherty
a86aa9cce9 Changes to support ARM cross compilation.
Added a flag to allow verbose make-kpkg and a flag to specify the
cross compile tools.

Changed the default output_root to use ARCH in the path.

Modified determination of ARCH and changed ARCH=arm to the more correct
ARCH=armel. Also set KPKG_ARCH=arm for compliance with kernel makefile.

Disabled the setarch command when it fails and instead alias uname to
echo ARCH.

A call to compile for arm will look like:
./build_kernel.sh --config=path/to/config --cross_compile=arm-linux-gnueabi- \
[--verbose]

Review URL: http://codereview.chromium.org/501019
2009-12-15 14:32:32 -07:00
msb@google.com
92f79bfd74 build: cleanup kernel build
* Remove deb patch support
* Fix --config to actually work
* Other cleanup

Review URL: http://codereview.chromium.org/436043

git-svn-id: svn://chrome-svn/chromeos/trunk@321 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-25 05:40:09 +00:00
msb@google.com
5c1c3b836d Fix build breakage.
Fixes the following error:

rm: cannot remove `/home/chrome-bot/trunk/src/build/x86/local_packages/linux-image-*.deb': No such file or directory

Review URL: http://chromereview.prom.corp.google.com/1186034

git-svn-id: svn://chrome-svn/chromeos/trunk@215 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 19:11:00 +00:00
msb@google.com
64b6dc8db1 kernel: move config into kernel git repo
Already moved config into the kernel git repo. This change fixes the
build to use the config which is in the kernel and removes the configs
in the chromeos repo.

Also removed a lot of the kernel version hard-coding that is in the build.

Review URL: http://chromereview.prom.corp.google.com/1188031

git-svn-id: svn://chrome-svn/chromeos/trunk@214 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 18:36:19 +00:00
msb@google.com
3bfc11f2fe Move patches into kernel git tree.
The change for adding the patches to the kernel git tree:

http://chromereview.prom.corp.google.com/1180039

Review URL: http://chromereview.prom.corp.google.com/1181025

git-svn-id: svn://chrome-svn/chromeos/trunk@152 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-03 22:30:10 +00:00
sleffler@google.com
e448ba3021 Add support for building from a pre-patched kernel src tree (e.g. pulled
from git); to enable set KERNEL_VERSION in your environment to the
directory name (e.g. 2.6.31-chromeos-intel-menlow) otherwise default to
the existing kernel build mechanism

Review URL: http://chromereview.prom.corp.google.com/1180034

git-svn-id: svn://chrome-svn/chromeos/trunk@142 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-02 21:04:52 +00:00
msb@google.com
477d139886 Move kernel over to git.
We are using the same sources as what is in the tarball. Just that they
are now in git. Copying the kernel tree over to the build dir for now.
Will eventually modify it so that we build from the src directory into
the build directory.

Review URL: http://chromereview.prom.corp.google.com/1177012

git-svn-id: svn://chrome-svn/chromeos/trunk@81 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-23 01:45:08 +00:00
rspangler@google.com
d74220d772 Start copying over source.
git-svn-id: svn://chrome-svn/chromeos/trunk@4 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-09 20:56:14 +00:00