Skip to content

Commit

Permalink
user: move common-user includes to a subdirectory of {bsd,linux}-user/
Browse files Browse the repository at this point in the history
Avoid polluting the compilation of common-user/ with local include files;
making an include file available to common-user/ should be a deliberate
decision in order to keep a clear interface that can be used by both
bsd-user/ and linux-user/.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Jan 4, 2022
1 parent 5db3ed7 commit cddc3e9
Show file tree
Hide file tree
Showing 19 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion bsd-user/meson.build
Expand Up @@ -4,7 +4,7 @@ endif

bsd_user_ss = ss.source_set()

common_user_inc += include_directories('.')
common_user_inc += include_directories('include')

bsd_user_ss.add(files(
'bsdload.c',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions linux-user/meson.build
Expand Up @@ -4,8 +4,8 @@ endif

linux_user_ss = ss.source_set()

common_user_inc += include_directories('host/' / host_arch)
common_user_inc += include_directories('.')
common_user_inc += include_directories('include/host/' / host_arch)
common_user_inc += include_directories('include')

linux_user_ss.add(files(
'elfload.c',
Expand Down

0 comments on commit cddc3e9

Please sign in to comment.