Indentation fix, cleanup.
[AROS.git] / arch / all-unix / boot / mmakefile.src
blobdd5980a60b0085bf74e4291f438340fcfda9f9c9
1 # -------- Bootstrap part --------
3 include $(SRCDIR)/config/aros.cfg
5 #MM boot-unix: kernel-bootstrap-hosted
7 BOOTSTRAPCONF := $(AROSARCHDIR)/AROSBootstrap.conf
9 #MM
10 boot-unix: $(BOOTSTRAPCONF)
12 ifeq ($(AROS_TARGET_VARIANT),android)
13 $(BOOTSTRAPCONF): INPUT_FILE := $(SRCDIR)/$(CURDIR)/AROSBootstrap_android.conf
14 $(BOOTSTRAPCONF): AROSBootstrap_android.conf
15 else ifeq ($(AROS_TARGET_ARCH),darwin)
16 $(BOOTSTRAPCONF): INPUT_FILE := $(SRCDIR)/$(CURDIR)/AROSBootstrap_darwin.conf
17 $(BOOTSTRAPCONF): AROSBootstrap_darwin.conf
18 else
19 $(BOOTSTRAPCONF): INPUT_FILE := $(SRCDIR)/$(CURDIR)/AROSBootstrap.conf
20 $(BOOTSTRAPCONF): AROSBootstrap.conf
21 endif
22 $(BOOTSTRAPCONF): mkbootconf.sh | $(AROSARCHDIR)
23         @$(ECHO) "Writing    $@..."
24         @$(SRCDIR)/$(CURDIR)/mkbootconf.sh $(INPUT_FILE) $(AROS_DIR_ARCH) >$@
26 $(AROSARCHDIR):
27         @$(ECHO) "Making     $@..."
28         @mkdir -p $@
30 # -------- Kickstart part --------
32 #MM- kernel-unix: kernel-objs
34 #MM- kernel-link-unix : \
35 #MM     kernel-$(ARCH)-$(AROS_TARGET_VARIANT)   \
36 #MM     kernel-kernel-kobj                      \
37 #MM     kernel-hostlib                          \
38 #MM     kernel-battclock                        \
39 #MM     kernel-processor                        \
40 #MM     kernel-timer                            \
41 #MM     kernel-expansion                        \
42 #MM     kernel-exec-kobj                        \
43 #MM     kernel-task-kobj                        \
44 #MM     hidd-x11gfx-$(OPT_HOST_X11GFX)          \
45 #MM     hidd-sdlgfx-$(OPT_HOST_SDLGFX)          \
46 #MM     hidd-androidgfx-$(OPT_HOST_ANDROIDGFX)     \
47 #MM     kernel-fs-emul                          \
48 #MM     kernel-unixio                           \
49 #MM     linklibs
51 # ---- UNIX board support package ----
53 KDEVS   := 
54 KLIBS   := exec
55 KHNDLRS := 
56 KHIDDS  := 
57 KRSRCS  := task
59 %link_kickstart mmake=kernel-link-unix file=$(AROSARCHDIR)/kernel \
60         devs=$(KDEVS) handlers=$(KHNDLRS) hidds=$(KHIDDS) libs=$(KLIBS) res=$(KRSRCS) startup=$(KOBJSDIR)/kernel_resource.o \
61         uselibs="hiddstubs"
63 %common