##################################### | |
# target_only(target, rules) | |
# SELinux rules which only apply to a particular target | |
# target - the target name in TARGET_PRODUCT. Note this is a substring search | |
# so target_only(`coh', `rules') is the same as target_only(`coho', `rules') | |
# rules - Any rules you wish to add, make sure to quote them with `' | |
# | |
define(`target_only', `ifelse(eval(index(board_sepolicy_target_product, $1) >= 0),1,$2)') |