diff options
Diffstat (limited to 'arch/mips/dec/Makefile')
-rw-r--r-- | arch/mips/dec/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/dec/Makefile b/arch/mips/dec/Makefile index 0d23b8fbd..d3f65947a 100644 --- a/arch/mips/dec/Makefile +++ b/arch/mips/dec/Makefile @@ -13,7 +13,7 @@ all: dec.o O_TARGET := dec.o -O_OBJS := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o wbflush.o +O_OBJS := int-handler.o setup.o irq.o time.o reset.o rtc-dec.o ifdef CONFIG_PROM_CONSOLE O_OBJS += promcon.o @@ -23,6 +23,12 @@ ifdef CONFIG_SERIAL O_OBJS += serial.o endif +ifeq ($(CONFIG_MODULES),y) + OX_OBJS = wbflush.o +else + O_OBJS += wbflush.o +endif + int-handler.o: int-handler.S clean: |