diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-06 17:30:25 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-06 18:09:14 +0100 |
commit | 498d6c2f3ac444c86e868b9116978aedf783174d (patch) | |
tree | adfb528dabd8ec4bd1e9a7f017c4f50f7e306d8a /x86_64 | |
parent | fb3cc15b1662f00c11d889584f6bc8e3a853c947 (diff) | |
download | gnumach-498d6c2f3ac444c86e868b9116978aedf783174d.tar.gz gnumach-498d6c2f3ac444c86e868b9116978aedf783174d.tar.bz2 gnumach-498d6c2f3ac444c86e868b9116978aedf783174d.zip |
Makefrag.am: Move architecture condition inside architecture Makefrag.am
Otherwise we cannot use _DIST there and have them all taken into account.
As a consequence, we can drop duplicate _DIST between i386 and x86_64.
Diffstat (limited to 'x86_64')
-rw-r--r-- | x86_64/Makefrag.am | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/x86_64/Makefrag.am b/x86_64/Makefrag.am index 40b50bc9..713b2c76 100644 --- a/x86_64/Makefrag.am +++ b/x86_64/Makefrag.am @@ -14,6 +14,14 @@ # USE OF THIS SOFTWARE. # +# Building a distribution. +# +EXTRA_DIST += \ + x86_64/ldscript + +if HOST_x86_64 + +# # Source files for any x86_64 kernel. # @@ -147,8 +155,6 @@ libkernel_a_SOURCES += \ i386/intel/pmap.h \ i386/intel/read_fault.c \ i386/intel/read_fault.h -EXTRA_DIST += \ - i386/i386/mach_i386.srv if PLATFORM_at libkernel_a_SOURCES += \ @@ -196,8 +202,6 @@ nodist_libkernel_a_SOURCES += \ i386/i386/mach_i386.server.msgids # i386/i386/mach_i386.server.defs -EXTRA_DIST += \ - i386/i386/i386asm.sym nodist_libkernel_a_SOURCES += \ i386/i386/i386asm.h @@ -205,8 +209,6 @@ nodist_libkernel_a_SOURCES += \ # Architecture specialities. # -EXTRA_DIST += \ - x86_64/ldscript if PLATFORM_at gnumach_LINKFLAGS += \ --defsym _START_MAP=$(_START_MAP) \ @@ -251,17 +253,6 @@ include_mach_x86_64_HEADERS = \ i386/include/mach/i386/vm_types.h # -# Building a distribution. -# - -EXTRA_DIST += \ - i386/README-Drivers - -# Instead of listing each file individually... -EXTRA_DIST += \ - i386/include - -# # Platform specific parts. # @@ -277,3 +268,5 @@ gnumach_LINKFLAGS += \ --defsym _START_MAP=0x40000000 \ -T '$(srcdir)'/x86_64/ldscript endif + +endif # HOST_x86_64 |