mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
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
|
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++"
|
comment "apparmor needs a toolchain w/ headers >= 3.16, threads, C++"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||||
|
@ -17,6 +17,10 @@ APPARMOR_DEPENDENCIES = libapparmor
|
|||||||
APPARMOR_TOOLS = parser
|
APPARMOR_TOOLS = parser
|
||||||
APPARMOR_MAKE_OPTS = USE_SYSTEM=1
|
APPARMOR_MAKE_OPTS = USE_SYSTEM=1
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_APPARMOR_BINUTILS),y)
|
||||||
|
APPARMOR_TOOLS += binutils
|
||||||
|
endif
|
||||||
|
|
||||||
define APPARMOR_BUILD_CMDS
|
define APPARMOR_BUILD_CMDS
|
||||||
$(foreach tool,$(APPARMOR_TOOLS),\
|
$(foreach tool,$(APPARMOR_TOOLS),\
|
||||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user