summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorBruce Beare <brucex.j.beare@intel.com>2010-07-12 11:32:37 -0700
committerBruce Beare <brucex.j.beare@intel.com>2010-07-12 11:32:37 -0700
commitcce6f923aaa84932d00b90f56ab3ef9a950dd949 (patch)
tree99c4da47a3fe5c2dd44dd802b765615c84431f5b /target
parente62f2c263a15b0cc4b1b9815759a11f855d753dd (diff)
downloadbuild-cce6f923aaa84932d00b90f56ab3ef9a950dd949.zip
build-cce6f923aaa84932d00b90f56ab3ef9a950dd949.tar.gz
build-cce6f923aaa84932d00b90f56ab3ef9a950dd949.tar.bz2
Move buildspec vars to BoardConfig.mk
Change-Id: I48ed4b55e91aae51076d9c609b44bf9fa24c3ecd Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Diffstat (limited to 'target')
-rw-r--r--target/board/generic_x86/BoardConfig.mk6
-rw-r--r--target/board/generic_x86/README.txt10
-rw-r--r--target/board/generic_x86/buildspec-generic_x86.mk7
3 files changed, 9 insertions, 14 deletions
diff --git a/target/board/generic_x86/BoardConfig.mk b/target/board/generic_x86/BoardConfig.mk
index 89fb5e4..7586db8 100644
--- a/target/board/generic_x86/BoardConfig.mk
+++ b/target/board/generic_x86/BoardConfig.mk
@@ -1,4 +1,5 @@
TARGET_ARCH=x86
+DISABLE_DEXPREOPT := true
TARGET_COMPRESS_MODULE_SYMBOLS := false
TARGET_PRELINK_MODULE := false
TARGET_NO_RECOVERY := true
@@ -19,3 +20,8 @@ TARGET_DISK_LAYOUT_CONFIG := build/target/board/generic_x86/disk_layout.conf
BOARD_BOOTIMAGE_MAX_SIZE := 8388608
BOARD_SYSLOADER_MAX_SIZE := 7340032
BOARD_FLASH_BLOCK_SIZE := 512
+
+
+# The eth0 device should be started with dhcp on boot.
+# Useful for emulators that don't provide a wifi connection.
+NET_ETH0_STARTONBOOT := true
diff --git a/target/board/generic_x86/README.txt b/target/board/generic_x86/README.txt
index 97e2d5b..585a373 100644
--- a/target/board/generic_x86/README.txt
+++ b/target/board/generic_x86/README.txt
@@ -8,15 +8,11 @@ A1. Create a new top level directory and pull the AOSP repository
repo init -u git://android.git.kernel.org/platform/manifest.git
repo sync
-A2. Copy in the buildspeck.mk
- cd $HOME/AOSP
- cp build/target/board/generic_x86/buildspec-generic_x86.mk buildspec.mk
-
-A3. Copy in the kernel
+A2. Copy in the kernel
cd $HOME/AOSP
cp ~/bzImage.your_device $HOME/AOSP/prebuilt/android-x86/kernel/kernel
-A4. Build
+A3. Build
cd $HOME/AOSP
source build/envsetup.sh
lunch generic_x86-eng
@@ -25,7 +21,7 @@ A4. Build
The build will generate some image files whose format may or may not be correct for your
device. You can build an installer image disk for the VirtualBox emulator using the command:
-A5. Build a VirtualBox installer image
+A4. Build a VirtualBox installer image
cd $HOME/AOSP
source build/envsetup.sh
lunch generic_x86-eng
diff --git a/target/board/generic_x86/buildspec-generic_x86.mk b/target/board/generic_x86/buildspec-generic_x86.mk
deleted file mode 100644
index fbc3947..0000000
--- a/target/board/generic_x86/buildspec-generic_x86.mk
+++ /dev/null
@@ -1,7 +0,0 @@
-BUILD_ENV_SEQUENCE_NUMBER := 9
-DISABLE_DEXPREOPT := true
-TARGET_ARCH := x86
-
-# The eth0 device should be started with dhcp on boot.
-# Useful for emulators that don't provide a wifi connection.
-NET_ETH0_STARTONBOOT := true