fix up the default SDCARD devices

This commit is contained in:
Koushik Dutta 2010-06-18 15:57:18 -07:00
parent 63e0476b6e
commit e51e47d814
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ LOCAL_MODULE := recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true
RECOVERY_VERSION := ClockworkMod Recovery v2.0.0.2
RECOVERY_VERSION := ClockworkMod Recovery v2.0.0.4
LOCAL_CFLAGS := -DRECOVERY_VERSION="$(RECOVERY_VERSION)"
RECOVERY_API_VERSION := 2
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)

View File

@ -37,11 +37,11 @@ static const char g_raw[] = "@\0g_raw";
static const char g_package_file[] = "@\0g_package_file";
#ifndef SDCARD_DEVICE_PRIMARY
#define SDCARD_DEVICE_PRIMARY "/dev/block/mmcblk0p1"
#define SDCARD_DEVICE_PRIMARY "/dev/block/mmcblk0"
#endif
#ifndef SDCARD_DEVICE_SECONDARY
#define SDCARD_DEVICE_SECONDARY "/dev/block/mmcblk0p2"
#define SDCARD_DEVICE_SECONDARY "/dev/block/mmcblk0p1"
#endif
#ifndef SDEXT_DEVICE