Compile with-float parameter based on target

kernel with hard, rom with soft

Signed-off-by: kecinzer <kecinzer@gmail.com>