#
# Makefile for the Linux kernel custom drivers.
#

O_TARGET := custom_drivers.o

subdir-y := $(shell grep "source drivers/custom/" config.subdirs | \
							sed -e "s|source drivers/custom/||g" | \
							sed -e "s|/Config.in||g")
subdir-m := $(subdir-y)
mod-subdirs := $(subdir-y)

obj-y :=

ifneq ($(subdir-y),)
obj-y := $(shell \
						for file in $(subdir-y); do \
						echo $$file/$$file.o; \
						done;)
endif

include $(TOPDIR)/Rules.make
