target.mk: rework arm architecture level detection
authorFelix Fietkau <nbd@nbd.name>
Thu, 14 Jul 2016 13:41:22 +0000 (15:41 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 15 Jul 2016 12:14:37 +0000 (14:14 +0200)
commit11d496d1562084d4cdd5822d5ef8fc8c176233ea
treef8ba3683218a3db3d3b9b965c10bfe3f0ce5a8b2
parent8e2764ce9bb6716acb955a0c27d8db291d68650c
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>
include/target.mk
target/Config.in