Remy Bohmer wrote: >>> + $(PROGS): $(OBJS) >>> +- $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ >>> ++ $(CC) $(LDFLAGS) $(EXTRA_CFLAGS) $^ $(LDLIBS) -o $@ >> sorry, but this is the linking stage, it's too late for any CFLAGS here. > > In that case the naming is slightly wrong, It is about TARGET_CFLAGS, > and those can contain flags like '-march=armv4t', which is required > during the linking phase while using a Codesourcery compiler. (to get > it linked to the proper libraries)
You're right. I've looked at a autotoos generated Makefile, the CFLAGS are used in the linking stage, too. fixed with version 0.1.11. please check if this fixes the problem. cheers, Marc -- Marc Kleine-Budde Phone: +49-231-2826-924 Pengutronix - Linux Solutions for Science and Industry Vertretung West/Dortmund http://www.pengutronix.de
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de