summaryrefslogtreecommitdiff
path: root/package/ltq-vmmc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-07 18:19:57 +0000
committerJohn Crispin <john@openwrt.org>2011-07-07 18:19:57 +0000
commit7aa12362b1dfa989b7e89268002edb6271ff02b6 (patch)
tree012fa415ad84b817a2a1b6b2b1418407604179f6 /package/ltq-vmmc
parentd097c52ce0288b8172b4fda9ae83483904d8f218 (diff)
downloadmtk-20170518-7aa12362b1dfa989b7e89268002edb6271ff02b6.zip
mtk-20170518-7aa12362b1dfa989b7e89268002edb6271ff02b6.tar.gz
mtk-20170518-7aa12362b1dfa989b7e89268002edb6271ff02b6.tar.bz2
fixes ltq-vmmc for none falcon targets
SVN-Revision: 27530
Diffstat (limited to 'package/ltq-vmmc')
-rw-r--r--package/ltq-vmmc/patches/400-falcon.patch25
1 files changed, 23 insertions, 2 deletions
diff --git a/package/ltq-vmmc/patches/400-falcon.patch b/package/ltq-vmmc/patches/400-falcon.patch
index f1c73b2..2793d77 100644
--- a/package/ltq-vmmc/patches/400-falcon.patch
+++ b/package/ltq-vmmc/patches/400-falcon.patch
@@ -1,6 +1,24 @@
--- a/configure.in
+++ b/configure.in
-@@ -986,6 +986,11 @@ AC_ARG_WITH(device,
+@@ -956,14 +956,15 @@ AC_DEFINE([VMMC],[1],[enable VMMC suppor
+ AM_CONDITIONAL(DANUBE, false)
+ AM_CONDITIONAL(AR9, false)
+ AM_CONDITIONAL(VR9, false)
++AM_CONDITIONAL(FALCON, false)
+ AC_ARG_WITH(device,
+ AC_HELP_STRING(
+- [--with-device=DANUBE|TWINPASS|AR9|VR9],
++ [--with-device=DANUBE|TWINPASS|AR9|VR9|FALCON],
+ [Set device type, default is DANUBE]
+ ),
+ [
+ if test "$withval" = yes; then
+- AC_MSG_ERROR([Set device type! Valid choices are DANUBE|TWINPASS|AR9|VR9]);
++ AC_MSG_ERROR([Set device type! Valid choices are DANUBE|TWINPASS|AR9|VR9|FALCON]);
+ else
+ case $withval in
+ DANUBE)
+@@ -986,8 +987,13 @@ AC_ARG_WITH(device,
AC_DEFINE([SYSTEM_VR9],[1],[enable VR9 specific code])
AM_CONDITIONAL(VR9, true)
;;
@@ -10,8 +28,11 @@
+ AM_CONDITIONAL(FALCON, true)
+ ;;
*)
- AC_MSG_ERROR([Set device type! Valid choices are DANUBE|TWINPASS|AR9|VR9]);
+- AC_MSG_ERROR([Set device type! Valid choices are DANUBE|TWINPASS|AR9|VR9]);
++ AC_MSG_ERROR([Set device type! Valid choices are DANUBE|TWINPASS|AR9|VR9|FALCON]);
;;
+ esac
+ fi
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -70,6 +70,11 @@ drv_vmmc_SOURCES +=\