2 include $(TOP)/config/make.cfg
4 -include $(OSGENDIR)/boot/mf.inc
8 OBJS := $(foreach f,$(FILES) $(ADDITIONAL_OBJS),$(OSGENDIR)/boot/$(f).o)
11 STRIP := ppc-linux-strip
13 #MM kernel-link-prep-ppc : setup
14 kernel-link-prep-ppc : $(OSGENDIR)/boot/aros-prep
17 $(OSGENDIR)/boot/aros-prep : $(OBJS)
18 $(LD) -N -e startup -T CoreLink.lds -Ttext 0x00f00000 -Map $(OSGENDIR)/boot/aros.map \
19 -o $@ $(OBJS) -L$(LIBDIR) $(LIBS)
20 $(STRIP) --strip-unneeded -R .note -R .comment $@
21 $(OBJCOPY) -O binary $@
22 ./preplink $@ $(BINDIR)/boot/aros-prep.img
30 %mkdirs_q $(BINDIR)/boot
42 $(HOST_CC) -O2 -o $@ $<
49 %include_deps $(foreach f,$(FILES) $(FUNCTIONS),$(OBJDIR)/$(f).d) $(END_FILE).d