revert between 56095 -> 55830 in arch
[AROS.git] / arch / ppc-chrp / efika / boot / mmakefile.src
blob7a22837c0c09185859ec07b72e82422912ba142b
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- AROS-chrp-ppc-efika: \
6 #MM     kernel-chrp-ppc-efika \
7 #MM     kernel-package-chrp-ppc-generic \
8 #MM     kernel-package-chrp-ppc-efika \
9 #MM     kernel-package-chrp-ppc-usb \
10 #MM     kernel-package-fs \
11 #MM     kernel-misc \
12 #MM     ub2lb-chrp-ppc-efika \
13 #MM     workbench-complete \
14 #MM     workbench-devs-networks-fec-powerpc
16 #MM bootiso-chrp-ppc-efika: \
17 #MM     boot \
18 #MM     AROS-chrp-ppc-efika
21 #MM kernel-package-chrp-ppc-generic: \
22 #MM     kernel-aros \
23 #MM     kernel-expansion \
24 #MM     kernel-utility \
25 #MM     kernel-oop \
26 #MM     kernel-graphics \
27 #MM     kernel-layers \
28 #MM     kernel-intuition \
29 #MM     kernel-task \
30 #MM     kernel-keymap \
31 #MM     workbench-libs-workbench \
32 #MM     kernel-dos \
33 #MM     kernel-dosboot \
34 #MM     kernel-bestcomm-chrp-ppc-efika \
35 #MM     kernel-lddemon \
36 #MM     kernel-input \
37 #MM     kernel-gameport \
38 #MM     kernel-keyboard \
39 #MM     kernel-console \
40 #MM     kernel-fs-con \
41 #MM     kernel-fs-ram \
42 #MM     kernel-hidd-gfx \
43 #MM     kernel-hidd-kbd \
44 #MM     kernel-hidd-mouse \
45 #MM     kernel-hidd \
46 #MM     hidd-i2c \
47 #MM     kernel-hidd-pci
49 PKG_GEN_LIBS    := aros expansion utility oop graphics layers intuition keymap workbench dos
50 PKG_GEN_RSRC    := dosboot bestcomm lddemon task
51 PKG_GEN_DEVS    := input gameport keyboard console
52 PKG_GEN_HANDLERS:= con ram
53 PKG_GEN_HIDDS   := graphics keyboard mouse hiddclass i2c pci
55 %make_package mmake=kernel-package-chrp-ppc-generic \
56     file=$(AROSDIR)/boot/modules/aros-ppc-generic.pkg \
57     libs=$(PKG_GEN_LIBS) res=$(PKG_GEN_RSRC) devs=$(PKG_GEN_DEVS) \
58     handlers=$(PKG_GEN_HANDLERS) hidds=$(PKG_GEN_HIDDS)
61 #MM kernel-package-chrp-ppc-efika: \
62 #MM     kernel-battclock \
63 #MM     kernel-bootloader \
64 #MM     kernel-openfirmware \
65 #MM     kernel-processor \
66 #MM     kernel-timer \
67 #MM     kernel-ata \
68 #MM     hidd-radeon \
69 #MM     kernel-hidd-pci-efika
71 PKG_EFI_LIBS    := 
72 PKG_EFI_RSRC    := battclock bootloader openfirmware processor
73 PKG_EFI_DEVS    := timer ata
74 PKG_EFI_HANDLERS:= 
75 PKG_EFI_HIDDS   := radeon pci-efika
77 %make_package mmake=kernel-package-chrp-ppc-efika \
78     file=$(AROSDIR)/boot/modules/aros-ppc-efika.pkg \
79     libs=$(PKG_GEN_LIBS) res=$(PKG_GEN_RSRC) devs=$(PKG_GEN_DEVS) \
80     handlers=$(PKG_GEN_HANDLERS) hidds=$(PKG_GEN_HIDDS)
83 #MM kernel-package-chrp-ppc-usb: \
84 #MM     hidd-usb
86 PKG_USB_HIDDS   := usb ohci
87 PKG_USB_CLASSES := USB/hid USB/storage
89 %make_package mmake=kernel-package-chrp-ppc-usb \
90     file=$(AROSARCHDIR)/modules/aros-ppc-usb.pkg \
91     hidds=$(PKG_USB_HIDDS) classes=$(PKG_USB_CLASSES)
95 .PHONY: $(PORTSDIR)/aros-efika.iso
97 TARGET_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
99 .PHONY: $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
101 bootiso-chrp-ppc-efika: $(AROSDIR)/.backdrop $(TARGET_ISO)
103 $(AROSDIR)/.backdrop: $(SRCDIR)/workbench/.backdrop
104         @$(CP) $< $@
106 $(TARGET_ISO):
107                 %mkdirs_q $(AROSDIR)/S
108                 @$(CP) $(SRCDIR)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
109                 @$(MKDIR) -p "$(AROSDIR)/Tools/Boot Disks"
110                 @$(MKDIR) -p "$(DISTDIR)"
111                 @mkisofs -f \
112                 -o $@ \
113                 -allow-leading-dots \
114                 -iso-level 4 \
115                 -V "AROS Live CD" \
116                 -publisher "AROS Development Team" \
117                 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
118                 -l -J -r \
119                 $(AROSDIR)
121 #                -no-emul-boot \
122 #                -b bootloader \
123                 
124 #MM setup-chrp-ppc-efika
125 setup-chrp-ppc-efika :
126         %mkdirs_q $(AROSARCHDIR) $(OSGENDIR)/boot $(TARGETDIR)
127         $(CP) $(SRCDIR)/$(CURDIR)/menu.lst $(AROSARCHDIR)/