Changeset 3e828ea in mainline for kernel/arch/mips32/meson.build
- Timestamp:
- 2019-09-23T12:49:29Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9be2358
- Parents:
- 9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
- File:
-
- 1 moved
-
kernel/arch/mips32/meson.build (moved) (moved from uspace/srv/loader/Makefile ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/meson.build
r9259d20 r3e828ea 1 1 # 2 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar4 3 # All rights reserved. 5 4 # … … 28 27 # 29 28 30 USPACE_PREFIX = ../.. 31 ROOT_PATH = $(USPACE_PREFIX)/.. 32 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 29 arch_src += files( 30 'src/start.S', 31 'src/context.S', 32 'src/mips32.c', 33 'src/asm.S', 34 'src/exception.c', 35 'src/interrupt.c', 36 'src/cache.c', 37 'src/debugger.c', 38 'src/cpu/cpu.c', 39 'src/debug/stacktrace.c', 40 'src/debug/stacktrace_asm.S', 41 'src/mm/km.c', 42 'src/mm/frame.c', 43 'src/mm/page.c', 44 'src/mm/tlb.c', 45 'src/mm/as.c', 46 'src/fpu_context.c', 47 'src/smc.c', 48 'src/smp/smp.c', 49 'src/machine_func.c', 50 ) 33 51 34 include $(CONFIG_MAKEFILE) 52 if MACHINE == 'lmalta' or MACHINE == 'bmalta' 53 arch_src += files('src/mach/malta/malta.c') 35 54 36 ifeq ($(UARCH),ia64) 37 # IA64 has a peculiar linker script with a fixed data segment address. 38 # Because the loader is a separate nonrelocatable binary in the same 39 # address space as the application, we provide a modified copy of 40 # the default linker script to work around that. 41 EXTRA_LDFLAGS = -T elf64_ia64_loader.x 42 else 43 # On all other architectures, we can simply move the text segment. 44 EXTRA_LDFLAGS = -Wl,-Ttext-segment=0x70000000 55 elif MACHINE == 'msim' 56 arch_src += files( 57 'src/mach/msim/msim.c', 58 'src/mach/msim/dorder.c', 59 ) 60 45 61 endif 46 62 47 BINARY = loader48 STATIC_ONLY = y49 63 50 GENERIC_SOURCES = \ 51 main.c 64 _check_headers = [ 65 'include/arch/istate_struct.h', 66 'include/arch/context_struct.h', 67 'include/arch/fpu_context_struct.h', 68 ] 52 69 53 SOURCES = \ 54 $(GENERIC_SOURCES) \ 55 $(ARCH_SOURCES) 56 57 include $(USPACE_PREFIX)/Makefile.common 70 foreach h : _check_headers 71 arch_src += [ autocheck.process(h) ] 72 endforeach
Note:
See TracChangeset
for help on using the changeset viewer.
