diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -48,6 +48,7 @@ DAHDI_LINUX_BRANCH =trunk DAHDI_LINUX_URL = http://svn.asterisk.org/svn/dahdi/linux/$(DAHDI_LINUX_BRANCH) SVN_DIR_SRC = dahdi-svn-orig SVN_DIR_DST = dahdi-svn-new +ORIGIN = http://git.tzafrir.org.il/?p=dahdi-extra.git BASE_DIR = drivers/dahdi MODULE_DIRS = $(BASE_DIR) $(BASE_DIR)/zaphfc drivers/staging/echo @@ -86,6 +87,21 @@ else HAS_KSRC:=no endif +PATCH_HEADER = \ + Subject: dahdi-extra: out-of-tree DAHDI drivers \ + \nOrigin: $(ORIGIN) \ + \nForwarded: No \ + \nLast-Update: `date -I` \ + \n \ + \nThis patch includes a number of out-of-tree DAHDI drivers from the \ + \ndahdi-extra repository. They are all out-of-tree and are highly likely \ + \n not to be included in DAHDI-linux in the forseeable future. \ + \n \ + \nGit-Commit: `git show-ref -s -h HEAD` \ + \n--- \ + \n \ + + CHECKSTACK=$(KSRC)/scripts/checkstack.pl DAHDI_BUILD_ALL:=m @@ -153,7 +169,8 @@ gen-patch: cat drivers/dahdi/Kconfig >>$(SVN_DIR_DST)/drivers/dahdi/Kconfig sed -e '/^####### END OF DATA ########/,$$d' drivers/dahdi/Kbuild \ | sed -i -e R/dev/stdin $(SVN_DIR_DST)/drivers/dahdi/Kbuild - diff -urN $(SVN_DIR_SRC) $(SVN_DIR_DST) >$(DAHDI_LINUX_DIFF) \ + echo -e "$(PATCH_HEADER)" >$(DAHDI_LINUX_DIFF) + diff -urN $(SVN_DIR_SRC) $(SVN_DIR_DST) >>$(DAHDI_LINUX_DIFF) \ || [ $$? -eq 1 ] |