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 /wcte12xp | |
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 'wcte12xp')
-rw-r--r-- | wcte12xp/Kbuild (renamed from wcte12xp/Makefile.kernel26) | 0 | ||||
-rw-r--r-- | wcte12xp/Makefile | 8 |
2 files changed, 5 insertions, 3 deletions
diff --git a/wcte12xp/Makefile.kernel26 b/wcte12xp/Kbuild index d930149..d930149 100644 --- a/wcte12xp/Makefile.kernel26 +++ b/wcte12xp/Kbuild diff --git a/wcte12xp/Makefile b/wcte12xp/Makefile index 0992833..1df324e 100644 --- a/wcte12xp/Makefile +++ b/wcte12xp/Makefile @@ -1,10 +1,12 @@ ifneq ($(KBUILD_EXTMOD),) - -include $(src)/Makefile.kernel26 +# We only get here on kernels 2.6.0-2.6.8 . +# For newer kernels, Kbuild will be included directly by the kernel +# build system. +include $(src)/Kbuild else -all: wct12xp.o +all: wcte12xp.o %.o: %.c $(CC) $(KFLAGS) -o $@ -c $< |