2 include $(TOP)/config/make.cfg
5 #MM bootiso-sam440-ppc: \
6 #MM kernel-sam440-ppc \
7 #MM kernel-package-sam440-ppc \
8 #MM workbench-complete \
9 #MM devs-networks-drivers-emac-powerpc \
12 #MM kernel-package-sam440-ppc: \
14 #MM kernel-expansion \
17 #MM kernel-battclock \
19 #MM kernel-mathieeesingbas \
24 #MM kernel-pci-amcc440 \
26 #MM kernel-cgfx-kobj \
29 #MM kernel-intuition \
35 #MM kernel-fs-packet \
36 #MM kernel-workbench \
37 #MM kernel-bootloader-sam440-ppc \
45 #MM workbench-fs-nil \
46 #MM workbench-fs-ram \
47 #MM workbench-libs-partition \
48 #MM kernel-sam440-ppc-irq \
50 #MM workbench-hidd-graphics
52 PKG_LIBS := aros mathieeesingbas partition expansion utility oop graphics layers intuition keymap workbench dos boot
53 PKG_RSRC := misc bootloader battclock
54 PKG_DEVS := input gameport keyboard console timer ata
55 PKG_HANDLERS := con nil ram packet cdrom
56 PKG_HIDDS:= graphics hiddclass pci pci-amcc440 i2c radeon irq usb ohci
60 $(addprefix $(BINDIR)/Libs/, $(addsuffix .library, $(PKG_LIBS))) \
61 $(addprefix $(BINDIR)/Devs/, $(addsuffix .device, $(PKG_DEVS))) \
62 $(addprefix $(BINDIR)/Devs/, $(addsuffix .resource, $(PKG_RSRC))) \
63 $(addprefix $(BINDIR)/Devs/, $(addsuffix .handler, $(PKG_HANDLERS))) \
64 $(addprefix $(BINDIR)/Devs/Drivers/, $(addsuffix .hidd, $(PKG_HIDDS))) \
65 $(addprefix $(BINDIR)/Classes/USB/, $(addsuffix .hidd, $(PKG_USB)))
67 .PHONY: $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
69 kernel-package-sam440-ppc:
70 $(RM) -rf $(BINDIR)/boot/modules
71 %mkdirs_q $(BINDIR)/boot/modules
72 @mv $(MODULES) $(BINDIR)/boot/modules/
73 # Dirty hack to link graphics.library with cybergraphics (they use the same graphics_driver!!!)
74 $(KERNEL_LD) -r $(BINDIR)/boot/modules/graphics.library $(KOBJSDIR)/cybergraphics_library.o -o $(BINDIR)/boot/modules/gfx.library
75 $(RM) $(BINDIR)/boot/modules/graphics.library
76 #$(TOP)/tools/package/pkg c $(BINDIR)/boot/kernel.pkg $(BINDIR)/.pkg
78 bootiso-sam440-ppc: $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
80 $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso:
81 %mkdirs_q $(AROSDIR)/S
82 @$(CP) $(TOP)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
83 @$(MKDIR) -p "$(AROSDIR)/Tools/Boot Disks"
84 @$(MKDIR) -p "$(PORTSDIR)"
86 -o $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso \
92 -publisher "AROS Development Team" \
93 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
100 %mkdirs_q $(BINDIR)/boot $(OSGENDIR)/boot $(TARGETDIR)
101 $(CP) menu.lst $(BINDIR)/boot/
102 # $(CP) menu.lst.DH0 $(BINDIR)/boot/