package/apparmor: add option to install binutils
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
007ee0765e
commit
fa9466f5a4
@ -18,6 +18,16 @@ config BR2_PACKAGE_APPARMOR
|
||||
|
||||
http://wiki.apparmor.net
|
||||
|
||||
if BR2_PACKAGE_APPARMOR
|
||||
|
||||
config BR2_PACKAGE_APPARMOR_BINUTILS
|
||||
bool "binutils"
|
||||
help
|
||||
A set of utilities (written in C):
|
||||
aa-enabled aa-exec
|
||||
|
||||
endif # BR2_PACKAGE_APPARMOR
|
||||
|
||||
comment "apparmor needs a toolchain w/ headers >= 3.16, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
|
@ -17,6 +17,10 @@ APPARMOR_DEPENDENCIES = libapparmor
|
||||
APPARMOR_TOOLS = parser
|
||||
APPARMOR_MAKE_OPTS = USE_SYSTEM=1
|
||||
|
||||
ifeq ($(BR2_PACKAGE_APPARMOR_BINUTILS),y)
|
||||
APPARMOR_TOOLS += binutils
|
||||
endif
|
||||
|
||||
define APPARMOR_BUILD_CMDS
|
||||
$(foreach tool,$(APPARMOR_TOOLS),\
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
|
Loading…
Reference in New Issue
Block a user