Makefile: set Android version
Signed-off-by: BlackMesa123 <brother12@hotmail.it>
This commit is contained in:
parent
7446f9c6b4
commit
9363e5dd72
4
Makefile
4
Makefile
|
@ -469,6 +469,10 @@ asm-generic:
|
|||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
|
||||
src=uapi/asm obj=arch/$(SRCARCH)/include/generated/uapi/asm
|
||||
|
||||
# Set Android version as O
|
||||
export PLATFORM_VERSION=8.0.0
|
||||
KBUILD_CFLAGS += -DPLATFORM_VERSION=8.0.0
|
||||
|
||||
ifneq ($(PLATFORM_VERSION), )
|
||||
PLATFORM_VERSION_NUMBER=$(shell $(CONFIG_SHELL) $(srctree)/scripts/android-version.sh $(PLATFORM_VERSION))
|
||||
MAJOR_VERSION=$(shell $(CONFIG_SHELL) $(srctree)/scripts/android-major-version.sh $(PLATFORM_VERSION))
|
||||
|
|
Loading…
Reference in New Issue
Block a user