#
# This file exists just to copy the bonding driver from the linux kernel
# build to the binaries directory so it can be included in the image.
# 
#include $(TOPDIR)/development/rules/Rules.global

INCLUDEDIR = $(KERNELDIR)/include

#VERSIONFILE = $(INCLUDEDIR)/linux/utsrelease.h
#VERSION     = $(shell awk -F\" '/REL/ {print $$2}' $(VERSIONFILE))


MODULESDIR  = $(INSTALLDIR)/lib/modules/$(VERSION)/misc

MODULE = $(KERNELDIR)/drivers/net/bonding/bonding.ko

all:

clean:

install:
	install -d $(MODULESDIR)
	$(INSTALL) $(ONLY_IF_NEW) $(PRESERVE_SOURCE_TIMESTAMP) $(MODULE) $(MODULESDIR)
	install -d $(BINARYDIR)/lib/modules/$(VERSION)/misc
	$(INSTALL) $(ONLY_IF_NEW) $(PRESERVE_SOURCE_TIMESTAMP) $(MODULE) $(BINARYDIR)/lib/modules/$(VERSION)/misc

