Skip to content

Commit ec3ac47

Browse files
author
Felix
committed
README: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated and references should be updated. Signed-off-by: Felix <[email protected]> Change-Id: I063940a63256a881206740e8a7ecae215f3a5ca8
1 parent 848075e commit ec3ac47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ newline inserted between each file as these are common failure
1818
points.
1919

2020
These device policy files can be configured through the use of
21-
the BOARD_SEPOLICY_DIRS variable. This variable should be set
21+
the BOARD_VENDOR_SEPOLICY_DIRS variable. This variable should be set
2222
in the BoardConfig.mk file in the device or vendor directories.
2323

24-
BOARD_SEPOLICY_DIRS contains a list of directories to search
24+
BOARD_VENDOR_SEPOLICY_DIRS contains a list of directories to search
2525
for additional policy files. Order matters in this list.
2626
For example, if you have 2 instances of widget.te files in the
27-
BOARD_SEPOLICY_DIRS search path, then the first one found (at the
27+
BOARD_VENDOR_SEPOLICY_DIRS search path, then the first one found (at the
2828
first search dir containing the file) will be concatenated first.
2929
Reviewing out/target/product/<device>/obj/ETC/sepolicy_intermediates/policy.conf
3030
will help sort out ordering issues.
3131

3232
Example BoardConfig.mk Usage:
3333
From the Tuna device BoardConfig.mk, device/samsung/tuna/BoardConfig.mk
3434

35-
BOARD_SEPOLICY_DIRS += device/samsung/tuna/sepolicy
35+
BOARD_VENDOR_SEPOLICY_DIRS += device/samsung/tuna/sepolicy
3636

3737
Additionally, OEMs can specify BOARD_SEPOLICY_M4DEFS to pass arbitrary m4
3838
definitions during the build. A definition consists of a string in the form

0 commit comments

Comments
 (0)