b6eb4a4a54076e6fd810f9c598e71615f38b333e
[linux-libre-firmware.git] / INSTALL
1 Briefly, running "make" without specifying any targets will build
2 everything. You may not necessarily want everything though and can
3 also specify targets to make. For example:
4
5     make av7110
6
7 Please see the included Makefile for a list of all available targets.
8
9 Once the desired things are built, "make install" will put them into
10 the appropriate place, which is /lib/firmware by default although you
11 can override this with something like:
12
13     make prefix=/desired/path install
14
15 In order to build everything you will need the following on the host
16 system:
17
18     * A C/C++ compiler, like GCC
19     * Cmake
20     * GNU Bison/YACC
21     * GNU Flex
22     * GNU Gperf
23     * GNU Make
24     * GNU Wget
25     * GNU C cross-compiler for ARM:
26         - arm-linux-gnueabi-gcc
27         - arm-linux-gnueabi-ld
28         - arm-linux-gnueabi-objcopy
29         - arm-none-eabi-gcc
30         - arm-none-eabi-objcopy
31         - arm-none-eabi-as
32
33 On GNU/Linux distros that use apt you can install these with:
34
35     apt install binutils-arm-linux-gnueabi binutils-arm-none-eabi bison \
36     cmake flex g++ gcc gcc-arm-linux-gnueabi gcc-arm-none-eabi gperf make wget
37
38 CARL9170 Firmware Configuration
39 When building the carl9170 firmware you will be prompted with
40 configuration questions.
41
42 -----
43 Copyright (C) 2017, 2018 Jason Self <j@jxself.org>
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved. This file is offered as-is,
47 without any warranty.