Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 743dd30d41
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (52 sloc) 2.748 kB
#
# This confidential and proprietary software may be used only as
# authorised by a licensing agreement from ARM Limited
# (C) COPYRIGHT 2007-2011 ARM Limited
# ALL RIGHTS RESERVED
# The entire notice above must be reproduced on all authorised
# copies and copies may only be made to the extent permitted
# by a licensing agreement from ARM Limited.
#
# Check if a Mali Core sub module should be enabled, true or false returned
submodule_enabled = $(shell gcc $(DEFINES) -E $1/arch/config.h | grep type | grep -c $(2))
OSKFILES=\
$(FILES_PREFIX)$(OSKOS)/mali_osk_atomics.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_irq.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_locks.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_low_level_mem.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_math.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_memory.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_misc.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_mali.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_notification.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_time.c \
$(FILES_PREFIX)$(OSKOS)/mali_osk_timers.c
UKKFILES=\
$(FILES_PREFIX)$(OSKOS)/mali_ukk_mem.c \
$(FILES_PREFIX)$(OSKOS)/mali_ukk_gp.c \
$(FILES_PREFIX)$(OSKOS)/mali_ukk_pp.c \
$(FILES_PREFIX)$(OSKOS)/mali_ukk_core.c
ifeq ($(USING_PROFILING),1)
UKKFILES+=\
$(FILES_PREFIX)$(OSKOS)/mali_ukk_profiling.c
endif
ifeq ($(MALI_PLATFORM_FILE),)
MALI_PLATFORM_FILE=platform/default/mali_platform.c
endif
# Get subversion revision number, fall back to only ${MALI_RELEASE_NAME} if no svn info is available
SVN_REV := $(shell (cd $(DRIVER_DIR); (svnversion | grep -qv exported && svnversion) || git svn info | grep '^Revision: '| sed -e 's/^Revision: //' ) 2>/dev/null )
ifeq ($(SVN_REV),)
SVN_REV := $(MALI_RELEASE_NAME)
else
SVN_REV := $(MALI_RELEASE_NAME)-r$(SVN_REV)
endif
# Common version-string, will be extended by OS-specifc sections
VERSION_STRINGS :=
VERSION_STRINGS += CONFIG=$(CONFIG)
VERSION_STRINGS += USING_OS_MEMORY=$(USING_OS_MEMORY)
VERSION_STRINGS += API_VERSION=$(shell cd $(DRIVER_DIR); grep "\#define _MALI_API_VERSION" $(FILES_PREFIX)common\/mali_uk_types.h | cut -d' ' -f 3 )
VERSION_STRINGS += REPO_URL=$(shell cd $(DRIVER_DIR); (svn info || git svn info || echo 'URL: $(MALI_RELEASE_NAME)') 2>/dev/null | grep '^URL: ' | cut -d: -f2- | cut -b2-)
VERSION_STRINGS += REVISION=$(SVN_REV)
VERSION_STRINGS += CHANGED_REVISION=$(shell cd $(DRIVER_DIR); (svn info || git svn info || echo 'Last Changed Rev: $(MALI_RELEASE_NAME)') 2>/dev/null | grep '^Last Changed Rev: ' | cut -d: -f2- | cut -b2-)
VERSION_STRINGS += CHANGE_DATE=$(shell cd $(DRIVER_DIR); (svn info || git svn info || echo 'Last Changed Date: $(MALI_RELEASE_NAME)') 2>/dev/null | grep '^Last Changed Date: ' | cut -d: -f2- | cut -b2-)
VERSION_STRINGS += BUILD_DATE=$(shell date)
Jump to Line
Something went wrong with that request. Please try again.