Subversion Repositories HelenOS

Rev

Rev 3258 | Rev 3349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3258 Rev 3324
Line 80... Line 80...
80
	$(USPACEDIR)/srv/ns/ns \
80
	$(USPACEDIR)/srv/ns/ns \
81
	$(USPACEDIR)/app/init/init \
81
	$(USPACEDIR)/app/init/init \
82
	$(USPACEDIR)/srv/loader/loader \
82
	$(USPACEDIR)/srv/loader/loader \
83
	$(USPACEDIR)/srv/devmap/devmap \
83
	$(USPACEDIR)/srv/devmap/devmap \
84
	$(USPACEDIR)/srv/rd/rd \
84
	$(USPACEDIR)/srv/rd/rd \
85
	$(USPACEDIR)/srv/vfs/vfs \
85
	$(USPACEDIR)/srv/vfs/vfs
-
 
86
ifeq ($(RDFMT),tmpfs)
86
	$(USPACEDIR)/srv/fs/tmpfs/tmpfs
87
	COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs
-
 
88
endif
-
 
89
ifeq ($(RDFMT),fat)
-
 
90
	COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat
-
 
91
endif
87
 
92
 
88
RD_TASKS = \
93
RD_TASKS = \
89
	$(USPACEDIR)/srv/fb/fb \
94
	$(USPACEDIR)/srv/fb/fb \
90
	$(USPACEDIR)/srv/kbd/kbd \
95
	$(USPACEDIR)/srv/kbd/kbd \
91
	$(USPACEDIR)/srv/console/console \
96
	$(USPACEDIR)/srv/console/console \
-
 
97
	$(USPACEDIR)/srv/fs/tmpfs/tmpfs \
92
	$(USPACEDIR)/srv/fs/fat/fat \
98
	$(USPACEDIR)/srv/fs/fat/fat \
93
	$(USPACEDIR)/app/tetris/tetris \
99
	$(USPACEDIR)/app/tetris/tetris \
94
	$(USPACEDIR)/app/tester/tester \
100
	$(USPACEDIR)/app/tester/tester \
95
	$(USPACEDIR)/app/cli/cli \
101
	$(USPACEDIR)/app/cli/cli \
96
	$(USPACEDIR)/app/klog/klog
102
	$(USPACEDIR)/app/klog/klog
Line 118... Line 124...
118
 
124
 
119
_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in
125
_components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in
120
	for task in $(RD_TASKS) ; do \
126
	for task in $(RD_TASKS) ; do \
121
		cp $$task $(USPACEDIR)/dist/sbin/ ; \
127
		cp $$task $(USPACEDIR)/dist/sbin/ ; \
122
	done
128
	done
-
 
129
ifeq ($(RDFMT),tmpfs)
123
	../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs
130
	../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs
-
 
131
endif
-
 
132
ifeq ($(RDFMT),fat)
-
 
133
	../../../../tools/mkfat.sh $(USPACEDIR)/dist/ initrd.fs
-
 
134
endif
124
	../../../../tools/mkhord.py 16384 initrd.fs initrd.img
135
	../../../../tools/mkhord.py 16384 initrd.fs initrd.img
125
	rm initrd.fs
136
	rm initrd.fs
126
	../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 1 "unsigned long" $(COMPONENTS) ./initrd.img
137
	../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 1 "unsigned long" $(COMPONENTS) ./initrd.img
127
 
138
 
128
%.o: %.S
139
%.o: %.S