add support for toolchain testing
This commit is contained in:
parent
c11774e92b
commit
e2ae0861a6
@ -46,14 +46,21 @@ endif
|
|||||||
# executable paths
|
# executable paths
|
||||||
BINDIR ?= /usr/bin
|
BINDIR ?= /usr/bin
|
||||||
SBINDIR ?= /usr/sbin
|
SBINDIR ?= /usr/sbin
|
||||||
CHECKPOLICY ?= $(BINDIR)/checkpolicy
|
ifdef TEST_TOOLCHAIN
|
||||||
CHECKMODULE ?= $(BINDIR)/checkmodule
|
tc_bindir := env LD_LIBRARY_PATH="$(TEST_TOOLCHAIN)/lib" $(TEST_TOOLCHAIN)$(BINDIR)
|
||||||
SEMODULE ?= $(SBINDIR)/semodule
|
tc_sbindir := env LD_LIBRARY_PATH="$(TEST_TOOLCHAIN)/lib" $(TEST_TOOLCHAIN)$(SBINDIR)
|
||||||
SEMOD_PKG ?= $(BINDIR)/semodule_package
|
else
|
||||||
SEMOD_LNK ?= $(BINDIR)/semodule_link
|
tc_bindir := $(BINDIR)
|
||||||
SEMOD_EXP ?= $(BINDIR)/semodule_expand
|
tc_sbindir := $(SBINDIR)
|
||||||
LOADPOLICY ?= $(SBINDIR)/load_policy
|
endif
|
||||||
SETFILES ?= $(SBINDIR)/setfiles
|
CHECKPOLICY ?= $(tc_bindir)/checkpolicy
|
||||||
|
CHECKMODULE ?= $(tc_bindir)/checkmodule
|
||||||
|
SEMODULE ?= $(tc_sbindir)/semodule
|
||||||
|
SEMOD_PKG ?= $(tc_bindir)/semodule_package
|
||||||
|
SEMOD_LNK ?= $(tc_bindir)/semodule_link
|
||||||
|
SEMOD_EXP ?= $(tc_bindir)/semodule_expand
|
||||||
|
LOADPOLICY ?= $(tc_sbindir)/load_policy
|
||||||
|
SETFILES ?= $(tc_sbindir)/setfiles
|
||||||
XMLLINT ?= $(BINDIR)/xmllint
|
XMLLINT ?= $(BINDIR)/xmllint
|
||||||
SECHECK ?= $(BINDIR)/sechecker
|
SECHECK ?= $(BINDIR)/sechecker
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user