Sebastien, >> I also don't understand why ftd.c is not depending on CONFIG_QE. >> That's another question ... but leads to error having your patch applied. >> > Right, fdt.c should not be included in the build unless both CONFIG_QE > and CONFIG_OF_LIBFDT are defined. Previously this issue was hidden > because all of qe.a was discarded by the linker. Would the following > be a good fix for this problem? > > -COBJS-$(CONFIG_OF_LIBFDT) += fdt.o > +COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o > yes - this should do it. Within fdt.c there's a CONFIG_QE conditional - you can remove this also with your approach.
Regards, André MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot