| # |
| # Makefile for the linux ramdump |
| # |
| ifeq ($(CONFIG_MMU),y) |
| ccflags-y += -D__USE_MMU__ |
| endif |
| |
| ifeq ($(CONFIG_MPU),y) |
| ccflags-y += -D__USE_MPU__ |
| endif |
| |
| ifeq ($(CONFIG_TRANS_WITH_COLLECT),y) |
| ccflags-y += -D__USE_TRANS_WITH_COLLECT__ |
| endif |
| |
| ifeq ($(CONFIG_RAMDUMP_TRANS_SERVER),y) |
| ccflags-y += -D__USE_RAMDUMP_TRANS_SERVER__ |
| endif |
| |
| ifeq ($(CONFIG_RAMDUMP_CLIENT),y) |
| ccflags-y += -D__USE_RAMDUMP_CLIENT__ |
| endif |
| |
| ifeq ($(CONFIG_CLIENT_WITH_COLLECT),y) |
| ccflags-y += -D__USE_CLIENT_WITH_COLLECT__ |
| endif |
| |
| ccflags-y += -D_OS_LINUX |
| |
| ccflags-y += -I$(srctree)/include/linux/ramdump |
| obj-$(CONFIG_RAMDUMP_TRANS_SERVER) += ramdump_oss.o |
| #obj-$(CONFIG_RAMDUMP) += ramdump_oss.o |
| obj-$(CONFIG_TRANS_WITH_COLLECT) += ramdump_collect_server.o |
| obj-$(CONFIG_RAMDUMP_TRANS_SERVER) += ramdump_trans_server.o |
| obj-$(CONFIG_RAMDUMP_TRANS_SERVER) += ramdump_compress.o |
| obj-$(CONFIG_RAMDUMP_CLIENT) += ramdump_client.o |
| obj-$(CONFIG_SYSTEM_CAP) += ramdump_client_cap.o |