All of lore.kernel.org
 help / color / mirror / Atom feed
* f2fs tools for arm
@ 2013-10-16 14:39 Konstantin Dorfman
  2013-10-17  6:32 ` Jaegeuk Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Dorfman @ 2013-10-16 14:39 UTC (permalink / raw)
  To: linux-f2fs-devel

Hello all,

Can f2fs tools be compiled for arm architecture?
Did it demand porting or just configuration?

Thanks,
Kostya

-- 
sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: f2fs tools for arm
  2013-10-16 14:39 f2fs tools for arm Konstantin Dorfman
@ 2013-10-17  6:32 ` Jaegeuk Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Jaegeuk Kim @ 2013-10-17  6:32 UTC (permalink / raw)
  To: Konstantin Dorfman; +Cc: linux-f2fs-devel

Hi,

This will help you.

>From 050e8712a60c7d982a7be8c076fb72452364dae4 Mon Sep 17 00:00:00 2001
From: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Date: Thu, 17 Oct 2013 15:15:54 +0900
Subject: [PATCH] README: add description how to cross-compile
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net

This patch adds description for the cross-compilation.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
---
 README | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README b/README
index cbb492e..bf374fb 100644
--- a/README
+++ b/README
@@ -25,6 +25,20 @@ How to compile
  # ./configure
  # make
 
+How to cross-compile (e.g., for ARM)
+------------------------------------
+
+ 1. Add the below line into mkfs/Makefile.am:
+ mkfs_f2fs_LDFLAGS = -all-static
+
+ 2. Add the below line into fsck/Makefile.am:
+ fsck_f2fs_LDFLAGS = -all-static
+
+ 3. then, do:
+ # LDFLAGS=--static ./configure \
+	--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
+ # make
+
 How to run by default
 ---------------------
 
-- 
1.8.4.474.g128a96c

-- 
Jaegeuk Kim
Samsung


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-17  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-16 14:39 f2fs tools for arm Konstantin Dorfman
2013-10-17  6:32 ` Jaegeuk Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.