Makefile: Fix up AUDIT_ARCH for armv6l, armv7l
There's a single AUDIT_ARCH_ARM define available (and big-endian shouldn't be a concern with those). Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
bd7340e815
commit
6dc1ec3c7a
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -15,6 +15,7 @@ RLIMIT_STACK_VAL := 1024
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AUDIT_ARCH := $(shell uname -m | tr [a-z] [A-Z])
|
AUDIT_ARCH := $(shell uname -m | tr [a-z] [A-Z])
|
||||||
|
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/^ARM.*/ARM/')
|
||||||
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/I[456]86/I386/')
|
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/I[456]86/I386/')
|
||||||
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPC64/PPC/')
|
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPC64/PPC/')
|
||||||
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/')
|
AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/')
|
||||||
|
|
Loading…
Reference in a new issue