2 include $(TOP)/config/make.cfg
5 #MM bootiso-chrp-ppc-efika: \
6 #MM kernel-chrp-ppc-efika \
7 #MM kernel-chrp-ppc-irq \
8 #MM kernel-package-chrp-ppc-efika \
9 #MM arch-common-boot-generatebootsig \
10 #MM workbench-complete
12 #MM kernel-package-chrp-ppc-efika: \
14 #MM kernel-bootloader-chrp-ppc-efika \
15 #MM kernel-bestcomm-chrp-ppc-efika \
16 #MM kernel-expansion \
18 #MM kernel-openfirmware \
20 #MM kernel-battclock \
22 #MM kernel-mathieeesingbas \
27 #MM kernel-pci-efika \
29 #MM kernel-cgfx-kobj \
32 #MM kernel-intuition \
38 #MM kernel-fs-packet \
39 #MM kernel-workbench \
47 #MM workbench-fs-nil \
48 #MM workbench-libs-partition \
51 #MM contrib-amberram \
52 #MM workbench-hidd-graphics
54 PKG_GEN_LIBS := aros partition expansion utility oop graphics layers intuition keymap workbench boot dos
55 PKG_GEN_RSRC := dosboot bestcomm
56 PKG_GEN_DEVS := input gameport keyboard console
57 PKG_GEN_HANDLERS:= con nil amberram cdrom
58 PKG_GEN_HIDDS := graphics hiddclass i2c pci
61 PKG_EFI_RSRC := battclock bootloader openfirmware
62 PKG_EFI_DEVS := timer ata
64 PKG_EFI_HIDDS := radeon pci-efika irq
66 PKG_HIDDS_USB := usb ohci
67 PKG_USB := hid storage
70 $(addprefix $(BINDIR)/Libs/, $(addsuffix .library, $(PKG_GEN_LIBS))) \
71 $(addprefix $(BINDIR)/Devs/, $(addsuffix .device, $(PKG_GEN_DEVS))) \
72 $(addprefix $(BINDIR)/Devs/, $(addsuffix .resource, $(PKG_GEN_RSRC))) \
73 $(addprefix $(BINDIR)/Devs/, $(addsuffix .handler, $(PKG_GEN_HANDLERS))) \
74 $(addprefix $(BINDIR)/Devs/Drivers/, $(addsuffix .hidd, $(PKG_GEN_HIDDS)))
77 $(addprefix $(BINDIR)/Libs/, $(addsuffix .library, $(PKG_EFI_LIBS))) \
78 $(addprefix $(BINDIR)/Devs/, $(addsuffix .device, $(PKG_EFI_DEVS))) \
79 $(addprefix $(BINDIR)/Devs/, $(addsuffix .resource, $(PKG_EFI_RSRC))) \
80 $(addprefix $(BINDIR)/Devs/, $(addsuffix .handler, $(PKG_EFI_HANDLERS))) \
81 $(addprefix $(BINDIR)/Devs/Drivers/, $(addsuffix .hidd, $(PKG_EFI_HIDDS)))
84 $(addprefix $(BINDIR)/Devs/Drivers/, $(addsuffix .hidd, $(PKG_HIDDS_USB))) \
85 $(addprefix $(BINDIR)/Classes/USB/, $(addsuffix .hidd, $(PKG_USB)))
87 .PHONY: $(PORTSDIR)/aros-efika.iso
89 kernel-package-chrp-ppc-efika:
90 $(RM) -rf $(BINDIR)/boot/modules
91 $(RM) -rf $(BINDIR)/.pkg
92 %mkdirs_q $(BINDIR)/boot/modules
93 %mkdirs_q $(BINDIR)/.pkg
94 @mv $(MODULES_GENERIC) $(BINDIR)/.pkg
95 # Dirty hack to link graphics.library with cybergraphics (they use the same graphics_driver!!!)
96 $(KERNEL_LD) -r $(BINDIR)/.pkg/graphics.library $(KOBJSDIR)/cybergraphics_library.o -o $(BINDIR)/.pkg/gfx.library
97 $(RM) $(BINDIR)/.pkg/graphics.library
98 $(TOP)/tools/package/pkg c $(BINDIR)/boot/modules/aros-ppc-generic.pkg $(BINDIR)/.pkg
99 $(RM) -rf $(BINDIR)/.pkg/*
100 @mv $(MODULES_EFIKA) $(BINDIR)/.pkg
101 $(TOP)/tools/package/pkg c $(BINDIR)/boot/modules/aros-ppc-efika.pkg $(BINDIR)/.pkg
102 $(RM) -rf $(BINDIR)/.pkg/*
103 @mv $(MODULES_USB) $(BINDIR)/.pkg
104 $(TOP)/tools/package/pkg c $(BINDIR)/boot/modules/aros-usb.pkg $(BINDIR)/.pkg
105 $(RM) -rf $(BINDIR)/.pkg
112 bootiso-chrp-ppc-efika: $(PORTSDIR)/aros-efika.iso
114 $(PORTSDIR)/aros-efika.iso:
115 %mkdirs_q $(AROSDIR)/S
116 @$(CP) $(TOP)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
117 @$(MKDIR) -p "$(AROSDIR)/Tools/Boot Disks"
118 @$(MKDIR) -p "$(PORTSDIR)"
120 -o $(PORTSDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso \
121 -allow-leading-dots \
124 -publisher "AROS Development Team" \
125 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \