Changeset e28175d in mainline for meson/arch/arm64/meson.build
- Timestamp:
- 2020-03-15T10:44:02Z (6 years ago)
- Parents:
- b401b33 (diff), 44dde42 (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:
- heiducteam <tristanided@…> (2020-03-15 10:44:02)
- git-committer:
- GitHub <noreply@…> (2020-03-15 10:44:02)
- File:
-
- 1 moved
-
meson/arch/arm64/meson.build (moved) (moved from boot/arch/arm64/Makefile.inc ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/arm64/meson.build
rb401b33 re28175d 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 BFD_ARCH = aarch6439 40 BITS = 6441 ENDIANESS = LE42 34 43 35 # UEFI binaries should be relocatable, the EFI boot service LoadImage() will … … 51 43 # processor is in the execution mode that has unaligned access enabled. The 52 44 # -mstrict-align option is therefore not needed. 53 EXTRA_CFLAGS = -fpic -fvisibility=hidden 54 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' ] 55 47 56 ifeq ($(MACHINE), virt) 57 RD_DRVS_ESSENTIAL += \ 58 char/pl011 \ 59 intctl/gicv2 \ 60 platform/arm64virt 48 49 if MACHINE == 'virt' 50 rd_essential += [ 51 'drv/char/pl011', 52 'drv/intctl/gicv2', 53 'drv/platform/arm64virt', 54 ] 61 55 endif 62 63 SOURCES = \64 arch/$(BARCH)/src/asm.S \65 arch/$(BARCH)/src/main.c \66 arch/$(BARCH)/src/relocate.c \67 $(COMPS).o \68 genarch/src/efi.c \69 generic/src/gzip.c \70 generic/src/inflate.c \71 generic/src/kernel.c \72 generic/src/memstr.c \73 generic/src/payload.c \74 generic/src/printf.c \75 generic/src/printf_core.c \76 generic/src/str.c \77 generic/src/tar.c \78 generic/src/version.c \79 generic/src/vprintf.c
Note:
See TracChangeset
for help on using the changeset viewer.
