target.mk: rework arm architecture level detection

Use kernel config as input instead of -march CFLAGS.
With this change, -march can be dropped and replaced with more specific
optimization flags for better code generation.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau
2016-07-14 15:41:22 +02:00
parent 8e2764ce9b
commit 11d496d156
2 changed files with 1 additions and 7 deletions

View File

@@ -117,12 +117,6 @@ config armeb
select BIG_ENDIAN
bool
config arm_v4
bool
config arm_v5
bool
config arm_v6
bool