make the linux-ppc packags be in synch with other platforms
[tangerine.git] / arch / x86_64-pc / boot / mmakefile.src
blob4c6a7c4e5d6abf545b11de903b492145e5431ffd
1 # $Id: mmakefile.src 22621 2004-12-25 16:05:59Z verhaegs $
2 include $(TOP)/config/make.cfg
4 #MM kernel-package-x86_64: \
5 #MM     linklibs-clib \
6 #MM     kernel-aros \
7 #MM     kernel-bootloader-pc-x86_64 \
8 #MM     kernel-timer \
9 #MM     kernel-ata \
10 #MM     kernel-keyboard \
11 #MM     kernel-gameport \
12 #MM     kernel-pc-i386-vga \
13 #MM     kernel-pc-i386-vesa \
14 #MM     kernel-battclock \
15 #MM     kernel-misc \
16 #MM     kernel-pci \
17 #MM     kernel-pci-pcipc \
18 #MM     kernel-mathieeesingbas \
19 #MM     workbench-libs-partition \
20 #MM     workbench-hidd-graphics \
21 #MM     kernel-graphics \
22 #MM     kernel-layers \
23 #MM     kernel-keymap \
24 #MM     kernel-intuition \
25 #MM     kernel-input \
26 #MM     kernel-cgfx-kobj \
27 #MM     kernel-dos \
28 #MM     kernel-console \
29 #MM     kernel-fs-packet \
30 #MM     kernel-fs-con \
31 #MM     kernel-workbench \
32 #MM     workbench-fs-nil \
33 #MM     workbench-fs-ram \
34 #MM     workbench-fs-afs \
35 #MM     kernel-contrib-necessary-pc-x86_64 \
36 #MM     kernel-boot
38 #MM- kernel-contrib-necessary-pc-x86_64 : contrib-necessary-pc-x86_64
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
46 MODULES := \
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         $(TARGET_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  
61         $(RM) -rf $(BINDIR)/.pkg