Changeset 81235588 in mainline for boot/arch/ppc32


Ignore:
Timestamp:
2009-12-09T14:51:14Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb623e2
Parents:
63c4e28
Message:

move the definition of common init tasks, RAM disk files and components to a common makefile
(this should make it easier to maintain the list when tasks need to be added, etc.)

Location:
boot/arch/ppc32
Files:
3 edited

Legend:

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

    r63c4e28 r81235588  
    2727#
    2828
    29 TMP = distroot
     29include Makefile.common
    3030
    3131build: $(BASE)/image.iso
  • boot/arch/ppc32/loader/Makefile.build

    r63c4e28 r81235588  
    5252        boot.S
    5353
    54 COMPONENTS = \
    55         $(KERNELDIR)/kernel.bin \
    56         $(USPACEDIR)/srv/ns/ns \
    57         $(USPACEDIR)/app/init/init \
    58         $(USPACEDIR)/srv/loader/loader \
    59         $(USPACEDIR)/srv/devmap/devmap \
    60         $(USPACEDIR)/srv/bd/rd/rd \
    61         $(USPACEDIR)/srv/vfs/vfs
    62 ifeq ($(RDFMT),tmpfs)
    63         COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs
    64 endif
    65 ifeq ($(RDFMT),fat)
    66         COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat
    67 endif
    68 
    6954OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    7055COMPONENT_OBJECTS := $(addsuffix .co,$(basename $(notdir $(COMPONENTS)))) $(INITRD).co
  • boot/arch/ppc32/loader/Makefile.common

    r63c4e28 r81235588  
    3131#
    3232
     33include ../../../Makefile.common
     34
    3335DEPEND = Makefile.depend
    3436DEPEND_PREV = $(DEPEND).prev
     
    3739LINK = _link.ld
    3840COMPS = _components
    39 INITRD = initrd
    4041
    4142KERNELDIR = ../../../../kernel
    4243USPACEDIR = ../../../../uspace
    43 
    44 RD_SRVS = \
    45         $(USPACEDIR)/srv/fb/fb \
    46         $(USPACEDIR)/srv/kbd/kbd \
    47         $(USPACEDIR)/srv/console/console \
    48         $(USPACEDIR)/srv/fs/devfs/devfs \
    49         $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    50         $(USPACEDIR)/srv/fs/fat/fat \
    51         $(USPACEDIR)/srv/bd/file_bd/file_bd \
    52         $(USPACEDIR)/srv/part/mbr_part/mbr_part
    53 
    54 RD_APPS = \
    55         $(USPACEDIR)/app/edit/edit \
    56         $(USPACEDIR)/app/getvc/getvc \
    57         $(USPACEDIR)/app/redir/redir \
    58         $(USPACEDIR)/app/tetris/tetris \
    59         $(USPACEDIR)/app/tester/tester \
    60         $(USPACEDIR)/app/trace/trace \
    61         $(USPACEDIR)/app/klog/klog \
    62         $(USPACEDIR)/app/bdsh/bdsh
Note: See TracChangeset for help on using the changeset viewer.