diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-02-04 23:00:48 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-02-04 23:00:48 +0000 |
commit | 7e068801fbf82413ac0a5e63e586c268bd457434 (patch) | |
tree | 9b61e9a4e07167e0b7d347e4336245724befa29c /kernel/wctc4xxp/Kbuild | |
parent | 29daeebad888269fa0ee2ca7e54e238c8498ca2d (diff) |
Move kernel stuff to under kernel/
(merged branch /zaptel/team/tzafrir/move )
Closes issue #7117.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3793 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/wctc4xxp/Kbuild')
-rw-r--r-- | kernel/wctc4xxp/Kbuild | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/wctc4xxp/Kbuild b/kernel/wctc4xxp/Kbuild new file mode 100644 index 0000000..214aae1 --- /dev/null +++ b/kernel/wctc4xxp/Kbuild @@ -0,0 +1,20 @@ +obj-m += wctc4xxp.o + +FIRM_DIR := ../../firmware + +EXTRA_CFLAGS := -I$(src)/.. -Wno-undef -DSTANDALONE_ZAPATA + +ifeq ($(HOTPLUG_FIRMWARE),yes) + EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE +endif + +wctc4xxp-objs := base.o + +ifneq ($(HOTPLUG_FIRMWARE),yes) +wctc4xxp-objs += $(FIRM_DIR)/zaptel-fw-tc400m.o +endif + +$(obj)/base.o: $(src)/../zaptel.h + +$(obj)/$(FIRM_DIR)/zaptel-fw-tc400m.o: $(obj)/base.o + $(MAKE) -C $(obj)/$(FIRM_DIR) zaptel-fw-tc400m.o |