# Makefile for Soekris net5501 drivers

ifneq ($(KERNELRELEASE),)

obj-m += leds-net5501.o

else

.PHONY:	all modules install clean
all: modules

modules:
	$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) modules

install:
	$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) modules_install

clean:
	$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) clean

endif
