Subversion Repositories HelenOS

Rev

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

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