diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-11 08:43:22 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-11 08:43:22 +0000 |
commit | c474e0590633eca1d8b3355106be7cfc2e1d92ef (patch) | |
tree | 81e11b8a9fa2edce5f33320c44e2fb3f15d86b89 /wctdm24xxp/Kbuild | |
parent | c7936ab96a11a43bc47ce3de8ebe092419b61cd4 (diff) |
Rename Makefile.kernel26 to Kbuild (in subdirectories alone):
* kernel 2.6 build system >= 2.6.9 will use this directly.
* Kernels 2.6.0-2.6.8 will still use the legacy name 'Makefile'.
* Also fix a typo in 1.4/wcte12xp/Makefile (already fixed in 1.2).
* 1.4/wctc4xxp/Makefile should not include userspace targets in the
Kbuild file - those have a different syntax.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3417 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/Kbuild')
-rw-r--r-- | wctdm24xxp/Kbuild | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/wctdm24xxp/Kbuild b/wctdm24xxp/Kbuild new file mode 100644 index 0000000..eff3490 --- /dev/null +++ b/wctdm24xxp/Kbuild @@ -0,0 +1,19 @@ +obj-m += wctdm24xxp.o + +EXTRA_CFLAGS := -I$(src)/.. -Wno-undef + +wctdm24xxp-objs := base.o GpakCust.o GpakApi.o + +ifneq ($(HOTPLUG_FIRMWARE),yes) +wctdm24xxp-objs += ../firmware/zaptel-fw-vpmadt032.o +endif + +$(obj)/../firmware/zaptel-fw-vpmadt032.o: $(obj)/base.o + $(MAKE) -C $(obj)/../firmware zaptel-fw-vpmadt032.o + +$(obj)/base.o: $(src)/GpakCust.h $(src)/wctdm24xxp.h +$(obj)/base.o: $(src)/../zaptel.h + +$(obj)/GpakCust.o: $(src)/GpakCust.h + +$(obj)/GpakApi.o: $(src)/GpakApi.h |