Statistics
| Branch: | Revision:

root / Makefile.hw @ 1ad2134f

History | View | Annotate | Download (681 Bytes)

1
# Makefile for qemu target independent devices.
2

    
3
include config.mak
4
include ../config-host.mak
5
include $(SRC_PATH)/rules.mak
6

    
7
.PHONY: all
8

    
9
VPATH=$(SRC_PATH):$(SRC_PATH)/hw
10

    
11
CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS)
12
LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
13

    
14
CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@
15
CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
16
CPPFLAGS+=-I$(SRC_PATH)/fpu
17

    
18
OBJS=
19
OBJS+= virtio.o virtio-pci.o
20
OBJS+= fw_cfg.o
21
OBJS+= watchdog.o
22
OBJS+= nand.o ecc.o
23

    
24
OBJS+= m48t59.o
25

    
26
OBJS+= dma-helpers.o sysbus.o
27

    
28
all: $(HWLIB)
29

    
30
$(HWLIB): $(OBJS)
31

    
32
clean:
33
	rm -f *.o *.d *.a *~
34

    
35
# Include automatically generated dependency files
36
-include $(wildcard *.d */*.d)