Changeset 32b4302 in mainline for meson/arch/arm64/meson.build
- Timestamp:
- 2019-08-18T19:06:02Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c39d33b
- Parents:
- fa70134 (diff), 6c2fac18 (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:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-18 19:06:02)
- git-committer:
- GitHub <noreply@…> (2019-08-18 19:06:02)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/arm64/meson.build
rfa70134 r32b4302 27 27 # 28 28 29 BOOT_OUTPUT = image.boot 30 POST_OUTPUT = $(ROOT_PATH)/image.iso 31 POSTBUILD = Makefile.grub 32 GRUB_LOADER = chainloader 29 arch_uspace_c_args = [ '-D__LE__', '-fno-omit-frame-pointer' ] 30 arch_kernel_c_args = arch_uspace_c_args + [ '-march=armv8-a+nofp+nosimd', '-mgeneral-regs-only' ] 31 arch_kernel_link_args = [ '-nostdlib' ] 32 arch_uspace_link_args = [ '-nostdlib', '-lgcc' ] 33 33 34 BFD_NAME = elf64-littleaarch6435 # Request binary BFD output. The ARM64 port manually prepares the .text36 # section to look as a PE file than can be loaded on EFI systems.37 BFD_OUTPUT = binary38 39 BITS = 6440 ENDIANESS = LE41 34 42 35 # UEFI binaries should be relocatable, the EFI boot service LoadImage() will … … 50 43 # processor is in the execution mode that has unaligned access enabled. The 51 44 # -mstrict-align option is therefore not needed. 52 EXTRA_CFLAGS = -fpic -fvisibility=hidden 53 EXTRA_LDFLAGS = -Wl,-shared 45 arch_boot_c_args = arch_uspace_c_args + [ '-fpic', '-fvisibility=hidden', '-fno-function-sections' ] 46 arch_boot_link_args = [ '-Wl,-shared', '-Wl,--no-gc-sections' ] 54 47 55 ifeq ($(MACHINE), virt) 56 RD_DRVS_ESSENTIAL += \ 57 char/pl011 \ 58 intctl/gicv2 \ 59 platform/arm64virt 48 49 if MACHINE == 'virt' 50 rd_essential += [ 51 'drv/char/pl011', 52 'drv/intctl/gicv2', 53 'drv/platform/arm64virt', 54 ] 60 55 endif 61 62 SOURCES = \63 arch/$(BARCH)/src/asm.S \64 arch/$(BARCH)/src/main.c \65 arch/$(BARCH)/src/relocate.c \66 $(COMPS).o \67 genarch/src/efi.c \68 generic/src/gzip.c \69 generic/src/inflate.c \70 generic/src/kernel.c \71 generic/src/memstr.c \72 generic/src/payload.c \73 generic/src/printf.c \74 generic/src/printf_core.c \75 generic/src/str.c \76 generic/src/tar.c \77 generic/src/version.c \78 generic/src/vprintf.c
Note:
See TracChangeset
for help on using the changeset viewer.