Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9478650 authored by Brian Carlstrom's avatar Brian Carlstrom
Browse files

Allow 'export WITH_HOST_DALVIK=false' to override Makefile defaulting

Change-Id: I8915bc1c9f52a3b6ab1a82b404ab61cd0726198d
parent 0b9382c7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -119,12 +119,16 @@ else
  HOST_PREBUILT_TAG := $(HOST_OS)-$(HOST_ARCH)
endif

# Build dalvikvm on hosts that support it, but not if we're building the sim
# Default to building dalvikvm on hosts that support it...
ifeq ($(HOST_OS),linux)
# ... but not if we're building the sim...
ifneq ($(TARGET_SIMULATOR),true)
# ... or if the if the option is already set
ifeq ($(WITH_HOST_DALVIK),)
	WITH_HOST_DALVIK := true
endif
endif
endif


# ---------------------------------------------------------------