summaryrefslogtreecommitdiff
path: root/windhoek/Makefile
blob: 447562ca5f0c0f4f72236ff7b87b312fa2fbdef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PKGDIR        ?= ../libdde_linux26
L4DIR         ?= $(PKGDIR)

SYSTEMS        = x86-l4v2

DEFAULT_RELOC  = 0x00a00000

include Makeconf.local
#-include $(PKGDIR_OBJ)/../dde/Makeconf

TARGET         = windhoek

IDE_SRC = ide.c ide-disk.c ide-generic.c ide-io.c ide-park.c \
		  ide-iops.c ide-lib.c ide-pm.c ide-pnp.c ide-probe.c ide-taskfile.c  \
		  setup-pci.c ide-pci-generic.c ide-pio-blacklist.c ide-sysfs.c \
		  piix.c ide-dma.c ide-gd.c
IDEFILES = $(addprefix ide/, $(IDE_SRC))

CDROM_SRC = #cdrom.c
CDROMFILES = $(addprefix cdrom/, $(CDROM_SRC))

PARTITION_SRC = msdos.c check.c
PARTITIONFILES = $(addprefix partitions/, $(PARTITION_SRC))

SRC_C          = main.c genhd.c components.c
SRC_C          += $(IDEFILES) \
				 $(CDROMFILES) \
				 $(PARTITIONFILES)

LIBS          += --whole-archive -ldde_linux26_block --no-whole-archive -ldde_linux26.o \
				 -lddekit

# DDE configuration
include $(L4DIR)/Makeconf

include $(L4DIR)/mk/prog.mk