Cc: Tim Gardner <tim.gardner@...>, Chris Mason <chris.mason@...>, <jeffschroeder@...>, <linux-fsdevel@...>, <kernel-team@...>, <linux-kernel@...>, <linux-btrfs@...>, John Johansen <jjohansen@...>
An alternative approach, and IMHO better suited, is to:
make -C ${kdir} all I_HAZ_AN_APPARMOR=1
with this Makefile
ifneq (${I_HAZ_AN_APPARMOR},)
EXTRA_CFLAGS += -DHAZ_APPARMOR
endif
This works very well for kmp-rpms, which are tied to a specific
distro, sometimes kernel, anyway.
--