summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
blob: 4022cb09c06958ad319ba20b4155d6352ac8c7ab (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Native packages are built indirectly via dependency,
# no need for them to be a direct target of 'world'
EXCLUDE_FROM_WORLD = "1"

PACKAGES = ""
PACKAGE_ARCH = "${BUILD_ARCH}"

# When this class has packaging enabled, setting 
# RPROVIDES becomes unnecessary.
RPROVIDES = "${PN}"

TARGET_ARCH = "${BUILD_ARCH}"
TARGET_OS = "${BUILD_OS}"
TARGET_VENDOR = "${BUILD_VENDOR}"
TARGET_PREFIX = "${BUILD_PREFIX}"
TARGET_CC_ARCH = "${BUILD_CC_ARCH}"

HOST_ARCH = "${BUILD_ARCH}"
HOST_OS = "${BUILD_OS}"
HOST_VENDOR = "${BUILD_VENDOR}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"

CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
CXXFLAGS = "${BUILD_CFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "

STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}"
STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}"

# Don't use site files for native builds
export CONFIG_SITE = ""

# set the compiler as well. It could have been set to something else
export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"
export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}"
export CPP = "${HOST_PREFIX}gcc -E"
export LD = "${HOST_PREFIX}ld"
export CCLD = "${CC}"
export AR = "${HOST_PREFIX}ar"
export AS = "${HOST_PREFIX}as"
export RANLIB = "${HOST_PREFIX}ranlib"
export STRIP = "${HOST_PREFIX}strip"

# Path prefixes
export base_prefix = "${STAGING_DIR_NATIVE}"
export prefix = "${STAGING_DIR_NATIVE}${layout_prefix}"
export exec_prefix = "${STAGING_DIR_NATIVE}${layout_exec_prefix}"

# Base paths
export base_bindir = "${STAGING_DIR_NATIVE}${layout_base_bindir}"
export base_sbindir = "${STAGING_DIR_NATIVE}${layout_base_sbindir}"
export base_libdir = "${STAGING_DIR_NATIVE}${layout_base_libdir}"

# Architecture independent paths
export datadir = "${STAGING_DIR_NATIVE}${layout_datadir}"
export sysconfdir = "${STAGING_DIR_NATIVE}${layout_sysconfdir}"
export sharedstatedir = "${STAGING_DIR_NATIVE}${layout_sharedstatedir}"
export localstatedir = "${STAGING_DIR_NATIVE}${layout_localstatedir}"
export infodir = "${STAGING_DIR_NATIVE}${layout_infodir}"
export mandir = "${STAGING_DIR_NATIVE}${layout_mandir}"
export docdir = "${STAGING_DIR_NATIVE}${layout_docdir}"
export servicedir = "${STAGING_DIR_NATIVE}${layout_servicedir}"

# Architecture dependent paths
export bindir = "${STAGING_DIR_NATIVE}${layout_bindir}"
export sbindir = "${STAGING_DIR_NATIVE}${layout_sbindir}"
export libexecdir = "${STAGING_DIR_NATIVE}${layout_libexecdir}"
export libdir = "${STAGING_DIR_NATIVE}${layout_libdir}"
export includedir = "${STAGING_DIR_NATIVE}${layout_includedir}"
export oldincludedir = "${STAGING_DIR_NATIVE}${layout_includedir}"

do_stage () {
	if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
	then
		if [ "${AUTOTOOLS_NATIVE_STAGE_INSTALL}" != "1" ]
		then
			oe_runmake install
		else
			autotools_stage_all
		fi
	fi
}

do_install () {
	true
}

PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}"
PKG_CONFIG_SYSROOT_DIR = ""
td class='del'>packages/abuse/abuse_0.7.0.bb11
-rw-r--r--packages/acct/.mtn2git_empty0
-rw-r--r--packages/acct/acct_6.3.99+6.4pre1.bb9
-rw-r--r--packages/acct/files/.mtn2git_empty0
-rw-r--r--packages/acct/files/cross-compile.patch34
-rw-r--r--packages/acpid/.mtn2git_empty0
-rw-r--r--packages/acpid/acpid-1.0.2/.mtn2git_empty0
-rwxr-xr-xpackages/acpid/acpid-1.0.2/init26
-rw-r--r--packages/acpid/acpid-1.0.3/.mtn2git_empty0
-rw-r--r--packages/acpid/acpid-1.0.3/gcc40.patch13
-rwxr-xr-xpackages/acpid/acpid-1.0.3/init26
-rw-r--r--packages/acpid/acpid_1.0.2.bb32
-rw-r--r--packages/acpid/acpid_1.0.3.bb33
-rw-r--r--packages/addons/.mtn2git_empty0
-rw-r--r--packages/addons/devshell.bb73
-rw-r--r--packages/adns/.mtn2git_empty0
-rw-r--r--packages/adns/adns-1.0/.mtn2git_empty0
-rw-r--r--packages/adns/adns-1.0/configure.patch137
-rw-r--r--packages/adns/adns-1.0/fixparsedomainflags.patch11
-rw-r--r--packages/adns/adns_1.0.bb30
-rw-r--r--packages/aiostress/.mtn2git_empty0
-rw-r--r--packages/aiostress/aiostress_0.0.bb17
-rw-r--r--packages/aircrack/.mtn2git_empty0
-rw-r--r--packages/aircrack/aircrack_2.1.bb22
-rw-r--r--packages/aircrack/aircrack_2.41.bb24
-rw-r--r--packages/aircrack/files/.mtn2git_empty0
-rw-r--r--packages/aircrack/files/oe.patch10
-rw-r--r--packages/aircrack/files/silent_patch.diff87
-rw-r--r--packages/albumshaper/.mtn2git_empty0
-rw-r--r--packages/albumshaper/albumshaper_2.1.bb18
-rw-r--r--packages/albumshaper/files/.mtn2git_empty0
-rw-r--r--packages/albumshaper/files/fixpaths.patch53
-rw-r--r--packages/aliens/.mtn2git_empty0
-rw-r--r--packages/aliens/aliens_1.0.0.bb21
-rw-r--r--packages/alsa/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-driver/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-driver/adriver.h.patch23
-rw-r--r--packages/alsa/alsa-driver/h5400.patch12
-rw-r--r--packages/alsa/alsa-driver/sa11xx.patch38
-rw-r--r--packages/alsa/alsa-driver/sound.p.patch59
-rw-r--r--packages/alsa/alsa-driver_0.9.6-hh4c.bb81
-rw-r--r--packages/alsa/alsa-lib_1.0.11.bb34
-rw-r--r--packages/alsa/alsa-oss_1.0.11.bb19
-rw-r--r--packages/alsa/alsa-utils_1.0.11.bb55
-rw-r--r--packages/alsa/files/.mtn2git_empty0
-rw-r--r--packages/alsa/files/alsa-utils-sys-siglist.patch15
-rw-r--r--packages/altboot/.mtn2git_empty0
-rw-r--r--packages/altboot/altboot_0.0.0.bb87
-rw-r--r--packages/altboot/altboot_1.0.5.bb154
-rw-r--r--packages/altboot/altboot_1.0.8.bb92
-rw-r--r--packages/altboot/files/.mtn2git_empty0
-rw-r--r--packages/altboot/files/akita/.mtn2git_empty0
-rw-r--r--packages/altboot/files/akita/altboot-2.4.cfg31
-rw-r--r--packages/altboot/files/akita/altboot-2.6.cfg41
-rw-r--r--packages/altboot/files/altboot-menu/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot-menu/00-Default14
-rw-r--r--packages/altboot/files/altboot-menu/10-noGui14
-rw-r--r--packages/altboot/files/altboot-menu/15-bootSD30
-rw-r--r--packages/altboot/files/altboot-menu/20-bootCF30
-rw-r--r--packages/altboot/files/altboot-menu/99-ownScripts-example68
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick47
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS108
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/55-bin-sh26
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/60-orig-init20
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/70-install-tgz263
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/70-setKernel67
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/80-configure-kexec246
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/80-copyrootfs321
-rw-r--r--packages/altboot/files/altboot.func791
-rw-r--r--packages/altboot/files/altboot.rc/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot.rc/Readme.txt2
-rw-r--r--packages/altboot/files/altboot.rc/disable_printk.sh6
-rw-r--r--packages/altboot/files/altboot.rc/loadkeymap.sh8
-rw-r--r--packages/altboot/files/altboot.rc/playbeep.sh34
-rw-r--r--packages/altboot/files/beep.raw1
-rw-r--r--packages/altboot/files/c7x0/.mtn2git_empty0
-rw-r--r--packages/altboot/files/c7x0/altboot-2.4.cfg30
-rw-r--r--packages/altboot/files/c7x0/altboot-2.6.cfg39
-rw-r--r--packages/altboot/files/collie/.mtn2git_empty0
-rw-r--r--packages/altboot/files/collie/altboot-2.4.cfg26
-rw-r--r--packages/altboot/files/init.altboot417
-rw-r--r--packages/altboot/files/poodle/.mtn2git_empty0
-rw-r--r--packages/altboot/files/poodle/altboot-2.4.cfg26
-rw-r--r--packages/altboot/files/poodle/altboot-2.6.cfg41
-rw-r--r--packages/altboot/files/spitz/.mtn2git_empty0
-rw-r--r--packages/altboot/files/spitz/altboot-2.6.cfg41
-rw-r--r--packages/altboot/files/tosa/.mtn2git_empty0
-rw-r--r--packages/altboot/files/tosa/altboot-2.4.cfg32
-rw-r--r--packages/altboot/files/tosa/altboot-2.6.cfg41
-rw-r--r--packages/angstrom/.mtn2git_empty0
-rw-r--r--packages/angstrom/angstrom-bootmanager-image.bb15
-rw-r--r--packages/angstrom/angstrom-bootmanager.bb11
-rw-r--r--packages/angstrom/angstrom-bootstrap-image.bb13
-rw-r--r--packages/angstrom/angstrom-gpe-image.bb33
-rw-r--r--packages/angstrom/angstrom-version.bb7
-rw-r--r--packages/angstrom/task-angstrom-x11.bb116
-rw-r--r--packages/anthy/.mtn2git_empty0
-rw-r--r--packages/anthy/anthy-native/.mtn2git_empty0
-rw-r--r--packages/anthy/anthy-native/native-mkanthydic-mkdepgraph.patch45
-rw-r--r--packages/anthy/anthy-native_7811.bb4
-rw-r--r--packages/anthy/anthy/.mtn2git_empty0
-rw-r--r--packages/anthy/anthy/native-mkanthydic-mkdepgraph.patch84
-rw-r--r--packages/anthy/anthy_7811.bb46
-rw-r--r--packages/anthy/files/.mtn2git_empty0
-rw-r--r--packages/anthy/files/2ch_t.patch5058
-rw-r--r--packages/anthy/files/change_anthy_dic_path.patch13
-rw-r--r--packages/anthy/files/not_build_elc.patch13
-rw-r--r--packages/antlr/.mtn2git_empty0
-rw-r--r--packages/antlr/antlr-native_2.7.5.bb8
-rw-r--r--packages/antlr/antlr_2.7.5.bb26
-rw-r--r--packages/antlr/files/.mtn2git_empty0
-rw-r--r--packages/antlr/files/install.patch186
-rw-r--r--packages/apache/.mtn2git_empty0
-rw-r--r--packages/apache/apache_2.0.54.bb91
-rw-r--r--packages/apache/files/.mtn2git_empty0
-rw-r--r--packages/apache/files/httpd.conf1032
-rw-r--r--packages/apache/files/index.html42
-rwxr-xr-xpackages/apache/files/init73
-rw-r--r--packages/apex/.mtn2git_empty0
-rw-r--r--packages/apex/apex_1.2.19.bb28
-rw-r--r--packages/apex/apex_1.4.5.bb45