From c1f5c0f7fd18463831e67dc93c5651cc2d5bddca Mon Sep 17 00:00:00 2001 From: that Date: Thu, 25 Dec 2014 19:57:36 +0100 Subject: gui: fix DEVICE_RESOLUTION warnings in Android.mk Indenting the warnings with tab resulted in a make error "*** commands commence before first target. Stop." instead of the intended message. Using spaces instead. Also fixed the web link to point to the current build guide on XDA instead of the outdated one on rootzwiki. Change-Id: I8b25d39edae16dbc479c0e36bd11e12b49b4fbb0 --- gui/Android.mk | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'gui') diff --git a/gui/Android.mk b/gui/Android.mk index d7a605e96..8ea4f3b90 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -64,21 +64,21 @@ ifeq ($(TW_DISABLE_TTF), true) endif ifeq ($(DEVICE_RESOLUTION),) -$(warning ********************************************************************************) -$(warning * DEVICE_RESOLUTION is NOT SET in BoardConfig.mk ) -$(warning * Please see http://tinyw.in/nP7d for details ) -$(warning ********************************************************************************) -$(error stopping) + $(warning ********************************************************************************) + $(warning * DEVICE_RESOLUTION is NOT SET in BoardConfig.mk ) + $(warning * Please see http://tinyw.in/50tg for details. ) + $(warning ********************************************************************************) + $(error stopping) endif ifeq ($(TW_CUSTOM_THEME),) - ifeq "$(wildcard $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION))" "" - $(warning ********************************************************************************) - $(warning * DEVICE_RESOLUTION ($(DEVICE_RESOLUTION)) does NOT EXIST in $(commands_recovery_local_path)/gui/devices ) - $(warning * Please choose an existing theme or create a new one for your device ) - $(warning ********************************************************************************) - $(error stopping) - endif + ifeq "$(wildcard $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION))" "" + $(warning ********************************************************************************) + $(warning * DEVICE_RESOLUTION ($(DEVICE_RESOLUTION)) does NOT EXIST in $(commands_recovery_local_path)/gui/devices ) + $(warning * Please choose an existing theme or create a new one for your device. ) + $(warning ********************************************************************************) + $(error stopping) + endif endif LOCAL_C_INCLUDES += bionic external/stlport/stlport $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION) -- cgit v1.2.3