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

Unverified Commit ffb6f905 authored by Rashed Abdel-Tawab's avatar Rashed Abdel-Tawab
Browse files

core: Only include Lineage SE policy if repo exists

Change-Id: If799106d2da6d8c303430e316edff365a22f7c99
parent 5b9c2b6e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1183,10 +1183,12 @@ DEFAULT_DATA_OUT_MODULES := ltp $(ltp_packages) $(kselftest_modules)
.KATI_READONLY := DEFAULT_DATA_OUT_MODULES

ifneq ($(LINEAGE_BUILD),)
ifneq ($(wildcard device/lineage/sepolicy/common/sepolicy.mk),)
## We need to be sure the global selinux policies are included
## last, to avoid accidental resetting by device configs
$(eval include device/lineage/sepolicy/common/sepolicy.mk)
endif
endif

# Include any vendor specific config.mk file
-include vendor/*/build/core/config.mk