Changeset 338a8382 in mainline for boot/arch/sparc64/Makefile.inc


Ignore:
Timestamp:
2008-10-12T22:35:46Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94f8e3c1
Parents:
756f475
Message:

Introduce a boot component configuration option CONFIG_RD_EXTERNAL.
Currently used by the sparc64 port. It says whether the ramdisk
is part of image.boot or a separate file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/Makefile.inc

    r756f475 r338a8382  
    2727#
    2828
    29 TMP=distroot
     29TMP = distroot
    3030
    3131build: $(BASE)/image.iso
     32
     33ifeq ($(CONFIG_RD_EXTERNAL),y)
     34SILO_CONF_FILTER = cat
     35else
     36SILO_CONF_FILTER = grep -v initrd
     37endif
    3238
    3339$(BASE)/image.iso: depend arch/$(ARCH)/loader/image.boot
     
    3541        mkdir -p $(TMP)/HelenOS
    3642        cat arch/$(ARCH)/silo/silo.tar.gz | (cd $(TMP)/boot; tar xvfz -)
    37         cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING arch/$(ARCH)/silo/silo.conf $(TMP)/boot
     43        cp arch/$(ARCH)/silo/README arch/$(ARCH)/silo/COPYING $(TMP)/boot
     44        cat arch/$(ARCH)/silo/silo.conf | $(SILO_CONF_FILTER) >$(TMP)/boot/silo.conf
    3845        cp arch/$(ARCH)/loader/image.boot $(TMP)/HelenOS/image.boot
    3946        gzip -f $(TMP)/HelenOS/image.boot
     47ifeq ($(CONFIG_RD_EXTERNAL),y)
    4048        cp arch/$(ARCH)/loader/initrd.img $(TMP)/HelenOS/initrd.img
     49endif
    4150        mkisofs -f -G $(TMP)/boot/isofs.b -B ... -r -o $(BASE)/image.iso $(TMP)/
    4251
Note: See TracChangeset for help on using the changeset viewer.