Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
TWRP: fix compiling on Android 7
Browse files Browse the repository at this point in the history
fixes
cp: cannot create regular file (...)/recovery/root/file_contexts': No such file or directory

Change-Id: I094a0bd242c6eb01e84570fbe49e853098e33a8b
  • Loading branch information
andi34 authored and Dees-Troy committed Mar 19, 2019
1 parent e03158e commit 38d2d52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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),)
Expand Down

0 comments on commit 38d2d52

Please sign in to comment.