Changeset 25a76ab8 in mainline for boot/Makefile.silo


Ignore:
Timestamp:
2010-05-08T07:53:23Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
051bc69a
Parents:
6c39a907 (diff), 1317380 (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.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/Makefile.silo

    r6c39a907 r25a76ab8  
    2727#
    2828
    29 BFD_NAME = elf64-ia64-little
    30 BFD_ARCH = ia64
     29.PHONY: all build_dist clean
    3130
    32 JOBFILE = ../../../../tools/jobfile.py
     31include Makefile.common
    3332
    34 CFLAGS = \
    35         -DRELEASE=$(RELEASE) -I. -I../../../generic -I../../../genarch \
    36         -I../../../../kernel/generic/include -imacros ../../../../config.h \
    37         -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration \
    38         -Wmissing-prototypes -Werror -O3 -fno-unwind-tables -mfixed-range=f32-f127 \
    39         -mno-pic -pipe
     33ifeq ($(CONFIG_AOUT_ISOFS_B),y)
     34        SILO_PACKAGE = a.out
     35else
     36        SILO_PACKAGE = raw
     37endif
    4038
    41 DEPEND_DEFS = $(CONFIG_DEFS)
     39ISOFS_B = silo/$(SILO_PACKAGE)/isofs.b
     40SECOND_B = silo/$(SILO_PACKAGE)/second.b
     41SILO_CONF = silo/silo.conf
     42ISOFS_B_IN = $(DISTROOT)/boot/isofs.b
     43
     44all: $(POST_OUTPUT)
     45
     46$(POST_OUTPUT): build_dist
     47        mkisofs -f -G $(ISOFS_B_IN) -B ... -r -o $@ $(DISTROOT)/
     48
     49build_dist: clean
     50        mkdir -p $(DISTROOT)/boot
     51        mkdir -p $(DISTROOT)/HelenOS
     52        cp $(BOOT_OUTPUT) $(DISTROOT)/HelenOS/
     53        cp $(ISOFS_B) $(DISTROOT)/boot/
     54        cp $(SECOND_B) $(DISTROOT)/boot/
     55        cp $(SILO_CONF) $(DISTROOT)/boot/
     56
     57clean:
     58        rm -fr $(DISTROOT)
Note: See TracChangeset for help on using the changeset viewer.