diff options
| author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
| commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
| tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/classes/cross.bbclass | |
| download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz | |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/cross.bbclass')
| -rw-r--r-- | openembedded/classes/cross.bbclass | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/openembedded/classes/cross.bbclass b/openembedded/classes/cross.bbclass new file mode 100644 index 0000000000..5d670ccadc --- /dev/null +++ b/openembedded/classes/cross.bbclass | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | # Cross packages are built indirectly via dependency, | ||
| 2 | # no need for them to be a direct target of 'world' | ||
| 3 | EXCLUDE_FROM_WORLD = "1" | ||
| 4 | |||
| 5 | PACKAGES = "" | ||
| 6 | |||
| 7 | HOST_ARCH = "${BUILD_ARCH}" | ||
| 8 | HOST_VENDOR = "${BUILD_VENDOR}" | ||
| 9 | HOST_OS = "${BUILD_OS}" | ||
| 10 | HOST_PREFIX = "${BUILD_PREFIX}" | ||
| 11 | HOST_CC_ARCH = "${BUILD_CC_ARCH}" | ||
| 12 | |||
| 13 | CPPFLAGS = "${BUILD_CPPFLAGS}" | ||
| 14 | CFLAGS = "${BUILD_CFLAGS}" | ||
| 15 | CXXFLAGS = "${BUILD_CFLAGS}" | ||
| 16 | LDFLAGS = "${BUILD_LDFLAGS}" | ||
| 17 | |||
| 18 | # Overrides for paths | ||
| 19 | |||
| 20 | # Path prefixes | ||
| 21 | base_prefix = "${exec_prefix}" | ||
| 22 | prefix = "${CROSS_DIR}" | ||
| 23 | exec_prefix = "${prefix}" | ||
| 24 | |||
| 25 | # Base paths | ||
| 26 | base_bindir = "${base_prefix}/bin" | ||
| 27 | base_sbindir = "${base_prefix}/bin" | ||
| 28 | base_libdir = "${base_prefix}/lib" | ||
| 29 | |||
| 30 | # Architecture independent paths | ||
| 31 | datadir = "${prefix}/share" | ||
| 32 | sysconfdir = "${prefix}/etc" | ||
| 33 | sharedstatedir = "${prefix}/com" | ||
| 34 | localstatedir = "${prefix}/var" | ||
| 35 | infodir = "${datadir}/info" | ||
| 36 | mandir = "${datadir}/man" | ||
| 37 | docdir = "${datadir}/doc" | ||
| 38 | servicedir = "${prefix}/srv" | ||
| 39 | |||
| 40 | # Architecture dependent paths | ||
| 41 | bindir = "${exec_prefix}/bin" | ||
| 42 | sbindir = "${exec_prefix}/bin" | ||
| 43 | libexecdir = "${exec_prefix}/libexec" | ||
| 44 | libdir = "${exec_prefix}/lib" | ||
| 45 | includedir = "${exec_prefix}/include" | ||
| 46 | oldincludedir = "${exec_prefix}/include" | ||
| 47 | |||
| 48 | do_stage () { | ||
| 49 | oe_runmake install | ||
| 50 | } | ||
| 51 | |||
| 52 | do_install () { | ||
| 53 | : | ||
| 54 | } | ||
