summaryrefslogtreecommitdiffstats
path: root/README.host.sdk
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-26 11:41:20 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-26 11:41:20 +0000
commit18a758b9e99641207883c81cb7862a8737eb0682 (patch)
tree0981494a839dbd38369de6ad420357a4545c3e7f /README.host.sdk
parentb2bdf19d90f9ac43a576076a408fb6104db4e5be (diff)
downloadpoky-18a758b9e99641207883c81cb7862a8737eb0682.tar.gz
README*: Update after addition of manual
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3867 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'README.host.sdk')
-rw-r--r--README.host.sdk51
1 files changed, 0 insertions, 51 deletions
diff --git a/README.host.sdk b/README.host.sdk
deleted file mode 100644
index d46c92af9b..0000000000
--- a/README.host.sdk
+++ /dev/null
@@ -1,51 +0,0 @@
1Using Poky generated host SDK
2=============================
3
4How to build host SDK
5====
6
7You need to setup Poky and then run one command:
8
9$ bitbake meta-toolchain
10
11Result would be tarball in tmp/deploy/sdk/ with everything needed to build for
12your target device. Unpack this in / directory - toolchain will reside in
13/usr/local/poky/arm/ dir.
14
15Usage of SDK
16=====
17
18First add toolchain into PATH:
19
20$ export PATH=/usr/local/poky/arm/bin/:$PATH
21
22Compiler is 'arm-poky-linux-gnueabi-gcc'. Building 'helloworld' example is
23simple:
24
25$ arm-poky-linux-gnueabi-gcc hello.c -o hello
26$ file hello
27hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped
28
29Autotools and SDK
30======
31
32'Configure' scripts allow to specify Host, Target, Build architecture. To build
33with Poky SDK you need to specify:
34
35./configure --target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi
36
37
38Using packages from Poky
39========
40
41During development it is often situation that we want to use some libraries
42which are available in Poky build. Their packages need to be unpacked to
43/usr/local/poky/arm/arm-poky-linux-gnueabi/ directory.
44
45For example to add libiw (from wireless-tools package) you need to unpack two
46packages:
47
48libiw29_29-pre20-r0_armv5te.ipk
49libiw-dev_29-pre20-r0_armv5te.ipk
50
51 Copyright (C) 2006-2007 OpenedHand Ltd.