1 # $Id: mmakefile.src 22621 2004-12-25 16:05:59Z verhaegs $
2 include $(TOP)/config/make.cfg
4 #MM bootiso-pc-x86_64: kernel-bootstrap-x86_64 kernel-package-x86_64 grub-quick grub-copy-stages
6 #MM kernel-package-x86_64: \
9 #MM kernel-bootloader-pc-x86_64 \
14 #MM kernel-pc-i386-vga \
15 #MM kernel-pc-i386-vesa \
16 #MM kernel-battclock \
19 #MM kernel-pci-pcipc \
20 #MM kernel-mathieeesingbas \
21 #MM workbench-libs-partition \
22 #MM workbench-hidd-graphics \
26 #MM kernel-intuition \
28 #MM kernel-cgfx-kobj \
31 #MM kernel-fs-packet \
33 #MM kernel-workbench \
34 #MM workbench-fs-nil \
35 #MM workbench-fs-ram \
36 #MM workbench-fs-afs \
40 PKG_LIBS := aros boot mathieeesingbas partition dos graphics layers keymap intuition workbench
41 PKG_RSRC := bootloader battclock misc
42 PKG_DEVS := ata timer keyboard gameport input console
43 PKG_HANDLERS := cdrom packet con nil ram afs
44 PKG_HIDDS:= vgah pci pcipc graphics vesagfx
47 $(addprefix $(BINDIR)/Libs/, $(addsuffix .library, $(PKG_LIBS))) \
48 $(addprefix $(BINDIR)/Devs/, $(addsuffix .device, $(PKG_DEVS))) \
49 $(addprefix $(BINDIR)/Devs/, $(addsuffix .resource, $(PKG_RSRC))) \
50 $(addprefix $(BINDIR)/Devs/, $(addsuffix .handler, $(PKG_HANDLERS))) \
51 $(addprefix $(BINDIR)/Devs/Drivers/, $(addsuffix .hidd, $(PKG_HIDDS)))
53 kernel-package-x86_64:
54 $(RM) -rf $(BINDIR)/.pkg
55 %mkdirs_q $(BINDIR)/.pkg
56 @mv $(MODULES) $(BINDIR)/.pkg/
57 # Dirty hack to link graphics.library with cybergraphics (they use the same graphics_driver!!!)
58 $(LD) -r $(BINDIR)/.pkg/graphics.library $(KOBJSDIR)/cybergraphics_library.o -o $(BINDIR)/.pkg/gfx.library
59 $(RM) $(BINDIR)/.pkg/graphics.library
60 $(TOP)/tools/package/pkg c $(BINDIR)/boot/kernel.pkg $(BINDIR)/.pkg
62 bootiso-pc-x86_64: $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
64 $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso: $(BINDIR)/boot/grub/menu.lst $(BINDIR)/boot/grub/menu.lst.DH0 $(BINDIR)/boot/kernel.pkg $(BINDIR)/boot/kernel
65 %mkdirs_q $(AROSDIR)/S
66 @$(CP) $(TOP)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
67 @$(MKDIR) -p "$(AROSDIR)/Tools/Boot Disks"
68 @$(MKDIR) -p "$(PORTSDIR)"
70 -o $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso \
71 -b boot/grub/iso9660_stage1_5 \
72 -c boot/boot.catalog \
78 -publisher "AROS Development Team" -R -J -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
83 $(BINDIR)/boot/grub/menu.lst:
84 $(CP) menu.lst $(BINDIR)/boot/grub/
86 $(BINDIR)/boot/grub/menu.lst.DH0:
87 $(CP) menu.lst.DH0 $(BINDIR)/boot/grub/