aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/crypto/ocf/pasemi/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/pasemi/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/pasemi/Makefile')
-rw-r--r--target/linux/generic-2.6/files/crypto/ocf/pasemi/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/crypto/ocf/pasemi/Makefile b/target/linux/generic-2.6/files/crypto/ocf/pasemi/Makefile
new file mode 100644
index 0000000000..b0a3980f21
--- /dev/null
+++ b/target/linux/generic-2.6/files/crypto/ocf/pasemi/Makefile
@@ -0,0 +1,12 @@
+# for SGlinux builds
+-include $(ROOTDIR)/modules/.config
+
+obj-$(CONFIG_OCF_PASEMI) += pasemi.o
+
+obj ?= .
+EXTRA_CFLAGS += -I$(obj)/.. -I$(obj)/
+
+ifdef TOPDIR
+-include $(TOPDIR)/Rules.make
+endif
+