diff options
author | Andy Green <andy.green@linaro.org> | 2011-06-16 11:02:22 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-06-16 11:02:22 +0100 |
commit | b4a6b02fd1ab5d3687442bbcd362025afe9759ed (patch) | |
tree | f1a1bc9c652847e812d7395cfd22bbff15d2bbfd | |
parent | 82eed056b1965b4e68171bcb4ad86e46ee62ac1f (diff) |
sgx remove HW_RECOVERY only for x build
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | drivers/gpu/pvr/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/Makefile b/drivers/gpu/pvr/Makefile index 9bf047235b6..d585ed2b112 100644 --- a/drivers/gpu/pvr/Makefile +++ b/drivers/gpu/pvr/Makefile @@ -70,13 +70,24 @@ ccflags-$(CONFIG_SGX_530_BUILD_DEBUG) += \ -DPVRSRV_DUMP_MK_TRACE \ -DDEBUG_LOG_PATH_TRUNCATE="\"eurasia_km\"" +ifeq ($(CONFIG_ANDROID),) + +ccflags-$(CONFIG_SGX_540_BUILD_RELEASE) += \ + -DPVR_BUILD_TYPE="\"release\"" \ + -DRELEASE \ + -DSUPPORT_ACTIVE_POWER_MANAGEMENT \ + -DPVR_NO_FULL_CACHE_OPS + +else + ccflags-$(CONFIG_SGX_540_BUILD_RELEASE) += \ -DPVR_BUILD_TYPE="\"release\"" \ -DRELEASE \ + -DSUPPORT_HW_RECOVERY \ -DSUPPORT_ACTIVE_POWER_MANAGEMENT \ -DPVR_NO_FULL_CACHE_OPS -# -DSUPPORT_HW_RECOVERY +endif ccflags-$(CONFIG_SGX_540_BUILD_DEBUG) += \ -DPVR_BUILD_TYPE="\"debug\"" -DDEBUG \ |