aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-19 12:25:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-19 12:25:39 +0000
commitb0f5f9729a310db2950ed84b8c7387cb7aa69494 (patch)
tree691505d0a6b1f213274b311b597c1ce507db5f2b /target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile
parent3fa77c468b88c4f598587a22335decff460da7ab (diff)
downloadupstream-b0f5f9729a310db2950ed84b8c7387cb7aa69494.tar.gz
upstream-b0f5f9729a310db2950ed84b8c7387cb7aa69494.tar.bz2
upstream-b0f5f9729a310db2950ed84b8c7387cb7aa69494.zip
[kernel] ocf: move all stuff into files, and fix build error on .25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13288 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile')
-rw-r--r--target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile b/target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile
new file mode 100644
index 0000000000..163fed0543
--- /dev/null
+++ b/target/linux/generic-2.6/files/crypto/ocf/hifn/Makefile
@@ -0,0 +1,13 @@
+# for SGlinux builds
+-include $(ROOTDIR)/modules/.config
+
+obj-$(CONFIG_OCF_HIFN) += hifn7751.o
+obj-$(CONFIG_OCF_HIFNHIPP) += hifnHIPP.o
+
+obj ?= .
+EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/
+
+ifdef TOPDIR
+-include $(TOPDIR)/Rules.make
+endif
+