#******************************************************************************
#* Copyright (c) 2014  Marvell International, Ltd. All Rights Reserved
#*
#*                         Marvell Confidential
#*****************************************************************************/
#
#
# cross-compile module makefile

obj-m := simva.o

SRC := $(shell pwd)

all:
	echo "all simva"
	echo $(KERNEL_SRC) 
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC)

modules_install:
	echo "install simva"
	echo $(KERNEL_SRC) 
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install

ext:
	$(MAKE) -f makefile-external

clean:
	rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
	rm -f Module.markers Module.symvers modules.order
	rm -rf .tmp_versions Modules.symvers


