0002-configure.ac-uclinux-is-also-linux.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. From b3958317c5ee2940e7024bec2e7f288b5a6a26c3 Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Mon, 30 Jun 2014 10:09:04 -0300
  4. Subject: [PATCH] configure.ac: uclinux is also linux
  5. uclinux is used in the tuple for some noMMU linux builds like Blackfin
  6. FLAT output, so accept it as linux too.
  7. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  8. ---
  9. configure.ac | 4 ++--
  10. 1 file changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/configure.ac b/configure.ac
  12. index 436d0e2..50ad478 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -58,10 +58,10 @@ AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
  16. AC_CANONICAL_HOST
  17. case "$host_os" in
  18. - linux*) OS=linux ;;
  19. + linux*|uclinux*) OS=linux ;;
  20. gnu*) OS=gnu ;;
  21. beos*) OS=beos ;;
  22. - *) AC_MSG_ERROR([Unknown or unsupported OS "$host_os". Only "linux", "gnu" and "beos" are supported in this version of GNU Parted.]) ;;
  23. + *) AC_MSG_ERROR([Unknown or unsupported OS "$host_os". Only "linux", "uclinux", "gnu" and "beos" are supported in this version of GNU Parted.]) ;;
  24. esac
  25. AC_SUBST([OS])
  26. --
  27. 1.8.5.5