forked from afaerber/qemu-rl78
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The only target dependency for most hardware is sizeof(target_phys_addr_t). Build these files into a convenience library, and use that instead of building for every target. Remove and poison various target specific macros to avoid bogus target dependencies creeping back in. Big/Little endian is not handled because devices should not know or care about this to start with. Signed-off-by: Paul Brook <[email protected]>
- Loading branch information
Paul Brook
committed
May 19, 2009
1 parent
8a637d4
commit 1ad2134
Showing
18 changed files
with
248 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ i386 | |
*-darwin-user | ||
*-linux-user | ||
*-bsd-user | ||
libhw32 | ||
libhw64 | ||
qemu-doc.html | ||
qemu-tech.html | ||
qemu-doc.info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Makefile for qemu target independent devices. | ||
|
||
include config.mak | ||
include ../config-host.mak | ||
include $(SRC_PATH)/rules.mak | ||
|
||
.PHONY: all | ||
|
||
VPATH=$(SRC_PATH):$(SRC_PATH)/hw | ||
|
||
CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS) | ||
LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS) | ||
|
||
CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@ | ||
CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE | ||
CPPFLAGS+=-I$(SRC_PATH)/fpu | ||
|
||
OBJS= | ||
OBJS+= virtio.o virtio-pci.o | ||
OBJS+= fw_cfg.o | ||
OBJS+= watchdog.o | ||
OBJS+= nand.o ecc.o | ||
|
||
OBJS+= m48t59.o | ||
|
||
OBJS+= dma-helpers.o sysbus.o | ||
|
||
all: $(HWLIB) | ||
|
||
$(HWLIB): $(OBJS) | ||
|
||
clean: | ||
rm -f *.o *.d *.a *~ | ||
|
||
# Include automatically generated dependency files | ||
-include $(wildcard *.d */*.d) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.