diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/conf/machine/include/sh | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/conf/machine/include/sh')
-rw-r--r-- | meta/conf/machine/include/sh/README | 11 | ||||
-rw-r--r-- | meta/conf/machine/include/sh/arch-sh.inc | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/conf/machine/include/sh/README b/meta/conf/machine/include/sh/README new file mode 100644 index 0000000000..b351acdd28 --- /dev/null +++ b/meta/conf/machine/include/sh/README | |||
@@ -0,0 +1,11 @@ | |||
1 | 2012/03/30 - Mark Hatle <mark.hatle@windriver.com> | ||
2 | - Initial Revision | ||
3 | |||
4 | Both big endian and little endian are defined for SH. | ||
5 | |||
6 | Experimental -- SH tunings have not been validated. | ||
7 | |||
8 | The TUNE_ARCH is defined as ${TUNE_ARCH_tune-${DEFAULTTUNE}}. | ||
9 | |||
10 | The TUNE_PKGARCH is defind as ${TUNE_PKGARCH_tune-${DEFAULTTUNE}}. | ||
11 | |||
diff --git a/meta/conf/machine/include/sh/arch-sh.inc b/meta/conf/machine/include/sh/arch-sh.inc new file mode 100644 index 0000000000..64d4cac829 --- /dev/null +++ b/meta/conf/machine/include/sh/arch-sh.inc | |||
@@ -0,0 +1,9 @@ | |||
1 | # SH Architecture definition | ||
2 | |||
3 | DEFAULTTUNE ?= "sh" | ||
4 | |||
5 | TUNE_ARCH = "${TUNE_ARCH_tune-${DEFAULTTUNE}}" | ||
6 | TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | ||
7 | |||
8 | TUNEVALID[bigendian] = "Enabled big-endian mode." | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mb", " -ml", d)}" | ||