On 7 August 2012 13:19, Christian Borntraeger <borntrae...@de.ibm.com> wrote: > +#if defined(TARGET_HAS_USB) && (TARGET_HAS_USB == 1) > /* init USB devices */ > if (usb_enabled) { > if (foreach_device_config(DEV_USB, usb_parse) < 0) > exit(1); > } > +#endif
Whether there is USB or not is a property of the machine model, not the target CPU architecture, so a TARGET_HAS_USB define is definitely the wrong approach. -- PMM