andreasgal/B2G — Issue #173: Build sgs2 kernel as part of device/samsung/galaxys2
Author: cgjones
Created: 2012-02-10 12:24:03+00:00
State: open

Following the lead of the maguro and akami build setup.

We should import device/samsung/galaxys2 directly into the b2g repository. This change is going to cause us to diverge from the CM source it was originally forked from irrevocably.

We need to (at least)
- import device/samsung/galaxys2 into b2g directly, as maguro/akami are
- remove the unused files from device/samsung/galaxys2. We build everything we need.
- move sgs2 kernel source into device/samsung/galaxys2
- set up an AndroidKernel.mk following the example of akami/maguro
- move the static files (the *.rc's, etc.) out of the cwm import and into a rootdir overlay in device/samsung/galaxys2/
- build other initramfs files and install them. Current hack is probably OK.

We should build busybox ourselves and use it for all targets. But that can be work for a followup.