target.mk: check that CPU_TYPE has known CPU_CFLAGS mapping
authorPhilip Prindeville <philipp@redfish-solutions.com>
Wed, 4 Jan 2017 01:15:15 +0000 (18:15 -0700)
committerFelix Fietkau <nbd@nbd.name>
Tue, 4 Apr 2017 10:34:13 +0000 (12:34 +0200)
commitd3bc11857af788e185e8a3ece26ce40757cf3965
treebf3aa425d4fb400e145b2b42fbb5dd4c1880cf4d
parenta1afee24a6e10054294923fa99938c5e5246ad14
target.mk: check that CPU_TYPE has known CPU_CFLAGS mapping

If someone creates a target and indicates a CPU_TYPE, but there's
no corresponding support for that CPU_TYPE's flags in include/target.mk
then that should probably be indicated rather than silently ignored.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
include/target.mk