2009-10-24 08:45:54 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
LINK_BASE = 0x80200000
|
|
|
|
target_machine=yeeloong
|
|
|
|
COMMON_CFLAGS += -march=mips3
|
|
|
|
COMMON_ASFLAGS += -march=mips3
|
|
|
|
include $(srcdir)/conf/mips.mk
|
|
|
|
|
|
|
|
# For pci.mod.
|
|
|
|
pkglib_MODULES += pci.mod
|
|
|
|
pci_mod_SOURCES = bus/pci.c bus/bonito.c
|
|
|
|
pci_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
pci_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
2009-12-02 07:39:17 +00:00
|
|
|
# For ata.mod.
|
|
|
|
pkglib_MODULES += ata.mod
|
|
|
|
ata_mod_SOURCES = disk/ata.c
|
|
|
|
ata_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
ata_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
2009-10-24 08:45:54 +00:00
|
|
|
# For pci.mod.
|
|
|
|
pkglib_MODULES += sm712.mod
|
|
|
|
sm712_mod_SOURCES = video/sm712.c
|
|
|
|
sm712_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
sm712_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2009-12-02 07:39:17 +00:00
|
|
|
|
|
|
|
# For lspci.mod
|
|
|
|
pkglib_MODULES += lspci.mod
|
|
|
|
lspci_mod_SOURCES = commands/lspci.c
|
|
|
|
lspci_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
lspci_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
|
|
|
# For at_keyboard.mod.
|
|
|
|
pkglib_MODULES += at_keyboard.mod
|
|
|
|
at_keyboard_mod_SOURCES = term/at_keyboard.c
|
|
|
|
at_keyboard_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
at_keyboard_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
|
|
|
# For ata_pthru.mod.
|
|
|
|
pkglib_MODULES += ata_pthru.mod
|
|
|
|
ata_pthru_mod_SOURCES = disk/ata_pthru.c
|
|
|
|
ata_pthru_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
ata_pthru_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2009-12-07 15:16:10 +00:00
|
|
|
|
|
|
|
# For mmap.mod.
|
|
|
|
pkglib_MODULES += mmap.mod
|
|
|
|
mmap_mod_SOURCES = mmap/mmap.c mmap/mips/yeeloong/uppermem.c
|
|
|
|
mmap_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
mmap_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
mmap_mod_ASFLAGS = $(COMMON_ASFLAGS)
|