Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d987fd7 in mainline


Ignore:
Timestamp:
2008-07-01T14:42:17Z (14 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial
Children:
aaa70841
Parents:
57edf88
Message:

Use initrd with arm32 port.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/loader/Makefile

    r57edf88 rd987fd7  
    8181        $(KERNELDIR)/kernel.bin \
    8282        $(USPACEDIR)/srv/ns/ns \
     83        $(USPACEDIR)/app/init/init \
     84        $(USPACEDIR)/srv/devmap/devmap \
     85        $(USPACEDIR)/srv/rd/rd \
     86        $(USPACEDIR)/srv/vfs/vfs \
     87        $(USPACEDIR)/srv/fs/tmpfs/tmpfs
     88
     89RD_TASKS = \
    8390        $(USPACEDIR)/srv/fb/fb \
    8491        $(USPACEDIR)/srv/kbd/kbd \
    8592        $(USPACEDIR)/srv/console/console \
    86         $(USPACEDIR)/srv/vfs/vfs \
    87         $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    8893        $(USPACEDIR)/srv/fs/fat/fat \
    89         $(USPACEDIR)/srv/devmap/devmap \
    90         $(USPACEDIR)/app/init/init \
    9194        $(USPACEDIR)/app/tetris/tetris \
    9295        $(USPACEDIR)/app/tester/tester \
     
    102105-include Makefile.depend
    103106
    104 image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS)
    105         $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@
     107image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS)
     108        $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) -o $@
    106109
    107110depend:
     
    109112
    110113clean:
    111         -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend
     114        -for task in $(RD_TASKS) ; do \
     115                rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \
     116        done
     117        -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend
    112118
    113 _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in
    114         ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS)
     119_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in
     120        for task in $(RD_TASKS) ; do \
     121                cp $$task $(USPACEDIR)/dist/sbin/ ; \
     122        done
     123        ../../../../tools/mktmpfs.py 4096 $(USPACEDIR)/dist/ initrd.img
     124        ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) ./initrd.img
    115125
    116126%.o: %.S
Note: See TracChangeset for help on using the changeset viewer.