TWRP: fix compiling on Android 7
fixes cp: cannot create regular file (...)/recovery/root/file_contexts': No such file or directory Change-Id: I094a0bd242c6eb01e84570fbe49e853098e33a8b
This commit is contained in:
committed by
Dees Troy
parent
e03158ebdd
commit
38d2d5268e
+3
-1
@@ -498,8 +498,10 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 28; echo $$?),0)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 25; echo $$?),0)
|
||||
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0)
|
||||
LOCAL_REQUIRED_MODULES += file_contexts_text
|
||||
else ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 25; echo $$?),0)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES += file_contexts_text
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD_CACHEIMAGE_PARTITION_SIZE),)
|
||||
|
||||
Reference in New Issue
Block a user