package/apparmor: enable apache integration
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> [yann.morin.1998@free.fr: split off to its own patch] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
This commit is contained in:
parent
f8a0fe4f3a
commit
adc2376bbb
|
@ -44,6 +44,12 @@ APPARMOR_DEPENDENCIES += linux-pam
|
|||
APPARMOR_TOOLS += changehat/pam_apparmor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_APACHE),y)
|
||||
APPARMOR_DEPENDENCIES += apache
|
||||
APPARMOR_TOOLS += changehat/mod_apparmor
|
||||
APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs
|
||||
endif
|
||||
|
||||
define APPARMOR_BUILD_CMDS
|
||||
$(foreach tool,$(APPARMOR_TOOLS),\
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
|
|
Loading…
Reference in a new issue