Changeset 3e828ea in mainline for boot/arch/sparc64/meson.build


Ignore:
Timestamp:
2019-09-23T12:49:29Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Merge changes from master, especially Meson build

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/meson.build

    r9259d20 r3e828ea  
    2727#
    2828
    29 ifeq ($(PROCESSOR),sun4v)
    30 COMMON_CFLAGS += -mcpu=niagara -mno-vis
    31 else
    32 COMMON_CFLAGS += -mcpu=ultrasparc
    33 endif
     29BUILD = true
     30POSTBUILD = 'silo'
     31POST_OUTPUT = 'image.iso'
     32boot_image_format = 'elf'
    3433
    35 COMMON_CFLAGS += -m64 -mcmodel=medlow -mhard-float -m$(QUADFLOAT)-quad-float
     34boot_src = files(
     35        'src/asm.S',
     36        'src/main.c',
     37        'src/ofw.c',
    3638
    37 LDFLAGS += -Wl,-no-check-sections,--gc-sections
    38 
    39 ENDIANESS = BE
    40 
    41 BFD_NAME = elf64-sparc
    42 BFD_ARCH = sparc
    43 
    44 ifeq ($(PROCESSOR),us)
    45         DEFS += -DSUN4U
    46 endif
    47 
    48 ifeq ($(PROCESSOR),us3)
    49         DEFS += -DSUN4U
    50 endif
    51 
    52 ifeq ($(PROCESSOR),sun4v)
    53         DEFS += -DSUN4V
    54         COMMON_CFLAGS += -Wl,-z,max-page-size=0x2000
    55 else
    56         COMMON_CFLAGS += -Wl,-z,max-page-size=0x4000
    57 endif
     39        '../../genarch/src/ofw.c',
     40        '../../genarch/src/ofw_tree.c',
     41        '../../generic/src/balloc.c',
     42        '../../generic/src/memstr.c',
     43        '../../generic/src/printf_core.c',
     44        '../../generic/src/vprintf.c',
     45        '../../generic/src/printf.c',
     46        '../../generic/src/str.c',
     47        '../../generic/src/version.c',
     48        '../../generic/src/inflate.c',
     49        '../../generic/src/gzip.c',
     50        '../../generic/src/tar.c',
     51        '../../generic/src/kernel.c',
     52        '../../generic/src/payload.c',
     53)
Note: See TracChangeset for help on using the changeset viewer.