# Makefile for fanctrl


### Requires these modules

REQUIRES += base/3pp/linux-st710x

### Component specification

COMPONENT_TARGETS = $(TARGET_NAME_VIP1900)

# Kernel module

module_target    = $(TARGET)/fan_ctrl.ko
module_srcs      = fan_ctrl.c fan_ctrl.mod.c
module_objs      = $(addprefix $(TARGET)/,$(module_srcs:.c=.o))

MODULE_SRCS      = $(module_srcs)
MODULE_TARGETS   = $(module_target)

# Module interface

INTERFACE_OMIT_SOURCE_DIR = yes
INTERFACE_HEADERS = $(CURDIR)/fan_ctrl.h
INTERFACE_PATH = hw

# Driver utility

### Common.mk

include ../../../../makesystem/common.mk

### Dependencies

$(module_target): $(module_objs) 
	$(MODULE_LINK)



