This cleanup removes hardware objects from the list of files to be built for linux-user only targets.
It also builds traces files only when the related file is built. Tested with: configure --enable-user --disable-system configure --disable-user --disable-system configure --disable-user --enable-system Laurent Vivier (4): trace: only include trace-event-subdirs when they are needed ui: build keymap only with softmmu targets tools: edid-generate.c is part of the tools build: don't build hardware objects with linux-user Makefile | 2 ++ Makefile.objs | 44 ++++++++++++++++++++++++------------------ tests/Makefile.include | 26 ++++++++++++++----------- 3 files changed, 42 insertions(+), 30 deletions(-) -- 2.20.1