File: cross-compile.example

package info (click to toggle)
dpkg-cross 1.1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 168 kB
  • ctags: 8
  • sloc: perl: 1,456; makefile: 56; sh: 21; sed: 9
file content (40 lines) | stat: -rw-r--r-- 1,358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# /etc/dpkg/cross-compile: configuration for dpkg-cross & Co.
#

#
# general section: paths of cross compiling environment
#
# you can set the following variables here:
#  crossprefix: prefix for cross compiling binaries; default: $(ARCH)-linux-
#  crossbase  : base prefix for the following; default: /usr/local
#  crossdir   : base directory for architecture; default:
#               $(CROSSBASE)/$(ARCH)-linux
#  crossbin   : dir for binaries; default: $(CROSSDIR)/bin
#  crosslib   : dir for libraries; default: $(CROSSDIR)/lib
#  crossinc   : dir for headers; default: $(CROSSDIR)/include
#  crossinfo  : dir dpkg-cross' package info files; default:
#               $(CROSSLIB)/dpkg-cross-info
#  maintainer : maintainer name to pass to original dpkg-buildpackage
#               in -m option. If not set at all, don't pass a -m, thus
#               dpkg-buildpackage will use the name from the changelog
#               file. If set to the special string CURRENTUSER, an
#               empty name will be passed, causing pgp to sign files
#               as the current user.
#
# Usually, you need only set crossbase, or maybe also crossdir
#
crossbase = /usr/local

#
# This setting for maintainer is usually right:
#
maintainer = CURRENTUSER

#
# per-package sections: additional environment variables to set
#

amd:
	SYSCC = $(ARCH)-linux-gcc