OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../linux24/99-mkdep-arglist-too-long.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. Depending on the working directory where the kernel is build, the file
  18. list can grow to produce an "argument to long" error on mkdep line.
  19. This patch only slits the process to have shorter lines.
  20. - Alejandro
  21. --- ./Makefile.orig 2003-09-23 22:19:55.000000000 -0400
  22. +++ ./Makefile 2003-09-23 22:28:29.000000000 -0400
  23. @@ -518,7 +518,9 @@
  24. ifdef CONFIG_MODVERSIONS
  25. $(MAKE) update-modverfile
  26. endif
  27. - scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
  28. + for x in $(FINDHPATH); do \
  29. + scripts/mkdep -- `find $$x \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` >> .hdepend ; \
  30. + done
  31. scripts/mkdep -- init/*.c > .depend
  32. ifdef CONFIG_MODVERSIONS