[Peter: pass TARGET_CFLAGS/LDFLAGS, quote TARGET_DIR] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>