Skip to content

Commit e04b7fb

Browse files
committed
defy-cm7-rc0
0 parents  commit e04b7fb

File tree

351 files changed

+29674
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

351 files changed

+29674
-0
lines changed

AndroidBoard.mk

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Copyright (C) 2009 The Android Open Source Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
#
16+
# AndroidBoard.mk is a legacy mechanism to deal with a few
17+
# edge-cases that can't be managed otherwise. No new rules
18+
# should be added to this file.
19+
#
20+
21+
LOCAL_PATH := $(call my-dir)
22+
23+
include $(CLEAR_VARS)
24+
25+
# Symlink keysym file that sholes looks for
26+
file := $(TARGET_OUT)/usr/keychars/qtouch-touchscreen.kcm.bin
27+
ALL_PREBUILT += $(file)
28+
$(file) : $(TARGET_OUT)/usr/keychars/qwerty.kcm.bin
29+
@echo "Symlink: $@ -> qwerty.kcm.bin"
30+
@mkdir -p $(dir $@)
31+
@rm -rf $@
32+
$(hide) ln -sf qwerty.kcm.bin $@
33+
34+
file := $(TARGET_OUT)/usr/keychars/cpcap-key.kcm.bin
35+
ALL_PREBUILT += $(file)
36+
$(file) : $(TARGET_OUT)/usr/keychars/qwerty.kcm.bin
37+
@echo "Symlink: $@ -> qwerty.kcm.bin"
38+
@mkdir -p $(dir $@)
39+
@rm -rf $@
40+
$(hide) ln -sf qwerty.kcm.bin $@
41+
42+
# include the non-open-source counterpart to this file
43+
-include vendor/motorola/jordan/AndroidBoardVendor.mk

AndroidProducts.mk

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (C) 2009 The Android Open Source Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
#
16+
# This file lists the product definition files that define
17+
# configurations which are actually buildable (e.g. through lunch)
18+
#
19+
20+
PRODUCT_MAKEFILES := \
21+
$(LOCAL_DIR)/jordan.mk

BoardConfig.mk

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Copyright (C) 2009 The Android Open Source Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
#
16+
# This file sets variables that control the way modules are built
17+
# thorughout the system. It should not be used to conditionally
18+
# disable makefiles (the proper mechanism to control what gets
19+
# included in a build is to use PRODUCT_PACKAGES in a product
20+
# definition file).
21+
#
22+
23+
# WARNING: This line must come *before* including the proprietary
24+
# variant, so that it gets overwritten by the parent (which goes
25+
# against the traditional rules of inheritance).
26+
27+
USE_CAMERA_STUB := false
28+
BOARD_USES_GENERIC_AUDIO := false
29+
30+
TARGET_NO_BOOTLOADER := true
31+
TARGET_NO_PREINSTALL := true
32+
TARGET_BOOTLOADER_BOARD_NAME := jordan
33+
34+
#Board properties
35+
36+
TARGET_BOARD_PLATFORM := omap3
37+
TARGET_CPU_ABI := armeabi-v7a
38+
TARGET_CPU_ABI2 := armeabi
39+
TARGET_ARCH_VARIANT := armv7-a-neon
40+
TARGET_GLOBAL_CFLAGS += -mtune=cortex-a8
41+
TARGET_GLOBAL_CPPFLAGS += -mtune=cortex-a8
42+
TARGET_OMAP3 := true
43+
OMAP_ENHANCEMENT := true
44+
COMMON_GLOBAL_CFLAGS += -DOMAP_ENHANCEMENT
45+
COMMON_GLOBAL_CFLAGS += -DTARGET_OMAP3
46+
47+
48+
# Wifi related defines
49+
BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
50+
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := libCustomWifi
51+
WPA_SUPPLICANT_VERSION := VER_0_6_X
52+
BOARD_WLAN_DEVICE := tiwlan0
53+
#BOARD_SOFTAP_DEVICE := tiwlan0
54+
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/tiwlan_drv.ko"
55+
BOARD_WLAN_TI_STA_DK_ROOT := system/wlan/ti/wilink_6_1
56+
WIFI_DRIVER_MODULE_ARG := ""
57+
WIFI_DRIVER_MODULE_NAME := "tiwlan_drv"
58+
WIFI_FIRMWARE_LOADER := "wlan_loader"
59+
60+
61+
BOARD_USE_FROYO_LIBCAMERA := true
62+
BOARD_USE_YUV422I_DEFAULT_COLORFORMAT := true
63+
BOARD_EGL_CFG := device/motorola/jordan/egl.cfg
64+
65+
BOARD_HAVE_BLUETOOTH := true
66+
67+
BOARD_BOOTIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x00280000)
68+
BOARD_RECOVERYIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x00500000)
69+
BOARD_SYSTEMIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x07500000)
70+
BOARD_USERDATAIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x04ac0000)
71+
BOARD_FLASH_BLOCK_SIZE := 131072
72+
73+
#Recovery
74+
BOARD_CUSTOM_RECOVERY_KEYMAPPING:= ../../device/motorola/jordan/recovery_ui.c
75+
BOARD_HAS_NO_MISC_PARTITION := true
76+
BOARD_RECOVERY_IGNORE_BOOTABLES := true
77+
BOARD_DATA_DEVICE := /dev/block/mmcblk1p25
78+
BOARD_DATA_FILESYSTEM := ext3
79+
BOARD_SYSTEM_DEVICE := /dev/block/mmcblk1p21
80+
BOARD_SYSTEM_FILESYSTEM := ext3
81+
BOARD_CACHE_DEVICE := /dev/block/mmcblk1p24
82+
BOARD_CACHE_FILESYSTEM := ext3
83+
BOARD_HAS_SMALL_RECOVERY := true
84+
#TARGET_RECOVERY_UI_LIB := librecovery_ui_sholes librecovery_ui_generic
85+
#TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_generic
86+
87+
HARDWARE_OMX := true
88+
BUILD_WITH_TI_AUDIO := 1
89+
BUILD_PV_VIDEO_ENCODERS := 1
90+
91+
#BOARD_GPS_LIBRARIES := libgps
92+
#BOARD_USES_GPSSHIM := true
93+
#BOARD_GPS_NEEDS_XTRA := true
94+
#BOARD_GPS_BAD_AGPS := true
95+
96+
BOARD_NO_RGBX_8888 := true

CleanSpec.mk

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Copyright (C) 2007 The Android Open Source Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
16+
# If you don't need to do a full clean build but would like to touch
17+
# a file or delete some intermediate files, add a clean step to the end
18+
# of the list. These steps will only be run once, if they haven't been
19+
# run before.
20+
#
21+
# E.g.:
22+
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
23+
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
24+
#
25+
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
26+
# files that are missing or have been moved.
27+
#
28+
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
29+
# Use $(OUT_DIR) to refer to the "out" directory.
30+
#
31+
# If you need to re-do something that's already mentioned, just copy
32+
# the command and add it to the bottom of the list. E.g., if a change
33+
# that you made last week required touching a file and a change you
34+
# made today requires touching the same file, just copy the old
35+
# touch step and add it to the end of the list.
36+
#
37+
# ************************************************
38+
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
39+
# ************************************************
40+
41+
# For example:
42+
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
43+
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
44+
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
45+
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
46+
47+
# ************************************************
48+
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
49+
# ************************************************

README

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
CyanogenMod 7.1 for Motorola Defy (Android 2.3.4 AOSP)
2+
3+
4+
Download:
5+
=========
6+
7+
repo init -u git://github.com/Quarx2k/android.git -b gingerbread
8+
9+
or as alternative, automerged with quarx and cyanogen every 6 hours :
10+
11+
repo init -u git://github.com/tpruvot/android.git -b gingerbread
12+
13+
repo sync
14+
15+
16+
Download RomManager:
17+
====================
18+
19+
mkdir vendor/cyanogen/proprietary
20+
cd vendor/cyanogen/proprietary
21+
wget http://mirror.kanged.net/recoveries/RomManager.apk
22+
23+
RomManager is not compatible with Motorola Defy,
24+
you can remove it from rom build system because it needs a real Recovery Image
25+
26+
27+
Build:
28+
======
29+
30+
optional :
31+
export PLATFORM_DIR=$(pwd)
32+
export ARCH=arm
33+
export CROSS_COMPILE=arm-eabi-
34+
export TARGET_OUT_INTERMEDIATES=out
35+
export JAVA_HOME=/usr/lib/jvm/java-6-sun
36+
export BOARD_USES_QCOM_HARDWARE=true
37+
export PATH=$PLATFORM_DIR/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$JAVA_HOME/bin:$PATH
38+
cd $PLATFORM_DIR
39+
40+
export CYANOGEN_NIGHTLY=true
41+
42+
rm -rf out/target
43+
44+
. build/envsetup.sh
45+
46+
brunch jordan
47+
48+
or...
49+
50+
lunch cyanogen_jordan-eng
51+
mka bacon
52+
53+
or (to skip recovery and boot image)
54+
55+
mka out/target/product/jordan/system.img
56+
57+
58+
Links:
59+
======
60+
FAQ : http://forum.xda-developers.com/showthread.php?t=1065798
61+
62+
Original Thread : http://forum.xda-developers.com/showthread.php?t=1033654
63+

0 commit comments

Comments
 (0)