Changeset 3e828ea in mainline for boot/arch/ppc32/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/ppc32/meson.build

    r9259d20 r3e828ea  
    2727#
    2828
    29 .PHONY: all build_dist clean
     29BUILD = true
     30POSTBUILD = 'yaboot'
     31POST_OUTPUT = 'image.iso'
     32boot_image_format = 'elf'
    3033
    31 include Makefile.common
     34boot_src = files(
     35        'src/asm.S',
     36        'src/main.c',
     37        'src/ofw.c',
    3238
    33 OFBOOT = yaboot/ofboot.b
    34 BOOTINFO = yaboot/bootinfo.txt
    35 YABOOT = yaboot/yaboot
    36 YABOOT_CONF = yaboot/yaboot.conf
    37 MAPS = yaboot/maps
    38 
    39 all: $(POST_OUTPUT)
    40 
    41 $(POST_OUTPUT): build_dist
    42         $(GENISOIMAGE) -hfs -part -map $(MAPS) -no-desktop -hfs-volid "HelenOS" -hfs-bless $(DISTROOT)/boot -r -o $@ $(DISTROOT)/
    43 
    44 build_dist: clean
    45         mkdir -p $(DISTROOT)/boot
    46         mkdir -p $(DISTROOT)/ppc
    47         cp $(BOOT_OUTPUT) $(DISTROOT)/boot/
    48         cp $(OFBOOT) $(DISTROOT)/boot/
    49         cp $(BOOTINFO) $(DISTROOT)/ppc/
    50         cp $(YABOOT) $(DISTROOT)/boot/
    51         cp $(YABOOT_CONF) $(DISTROOT)/boot/
    52 
    53 clean:
    54         rm -fr $(DISTROOT)
     39        '../../genarch/src/ofw.c',
     40        '../../genarch/src/ofw_tree.c',
     41        '../../genarch/src/division.c',
     42        '../../genarch/src/multiplication.c',
     43        '../../generic/src/balloc.c',
     44        '../../generic/src/memstr.c',
     45        '../../generic/src/printf_core.c',
     46        '../../generic/src/vprintf.c',
     47        '../../generic/src/printf.c',
     48        '../../generic/src/str.c',
     49        '../../generic/src/version.c',
     50        '../../generic/src/inflate.c',
     51        '../../generic/src/gzip.c',
     52        '../../generic/src/tar.c',
     53        '../../generic/src/kernel.c',
     54        '../../generic/src/payload.c',
     55)
Note: See TracChangeset for help on using the changeset viewer.