From c0fdb192e2c250f11ed0dbd639b2fb531f9df32c Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 11 May 2013 17:05:22 +0200 Subject: [PATCH] flashtool: fix build on Tripledragon Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8047f65815bbafa7a9d10aab4a6931f318c9aacc Author: Stefan Seyfried Date: 2013-05-11 (Sat, 11 May 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/flashtool.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/system/flashtool.cpp b/src/system/flashtool.cpp index 13f4a4580..395b5a411 100644 --- a/src/system/flashtool.cpp +++ b/src/system/flashtool.cpp @@ -38,6 +38,10 @@ #include +#if HAVE_TRIPLEDRAGON +/* TD kernel 2.6.12 is too old and does not have writesize yet, use oobsize instead */ +#define writesize oobsize +#endif CFlashTool::CFlashTool() {