summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2012-04-03 22:21:56 +0100
committerDavid-John Willis <John.Willis@Distant-earth.com>2012-04-03 22:21:56 +0100
commita962507532f1c8eaf1e50aa3e3c3683f3a212c36 (patch)
treebd5fd6a9eba9f52d32bfcd2f01e155c75b937ebf
parent17290c986b72fa6d6ba5d8e698a0cd3d8102e723 (diff)
downloadmeta-raspberrypi-a962507532f1c8eaf1e50aa3e3c3683f3a212c36.tar.gz
RASPBERRYPI.CONF/TUNE-ARM1176JZF-S: Add tune file for the BCM2835 SoC.
-rw-r--r--conf/machine/include/tune-arm1176jzf-s.inc10
-rw-r--r--conf/machine/raspberrypi.conf2
2 files changed, 12 insertions, 0 deletions
diff --git a/conf/machine/include/tune-arm1176jzf-s.inc b/conf/machine/include/tune-arm1176jzf-s.inc
new file mode 100644
index 0000000..b52c161
--- /dev/null
+++ b/conf/machine/include/tune-arm1176jzf-s.inc
@@ -0,0 +1,10 @@
1DEFAULTTUNE ?= "arm1176jzfs"
2
3require conf/machine/include/arm/arch-armv6.inc
4
5TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations"
6TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "arm1176jzfs", "-mtune=arm1176jzf-s", "", d)}"
7
8AVAILTUNES += "arm1176jzfs"
9TUNE_FEATURES_tune-arm1176jzfs = "${TUNE_FEATURES_tune-armv6} arm1176jzfs"
10PACKAGE_EXTRA_ARCHS_tune-arm1176jzfs = "${PACKAGE_EXTRA_ARCHS_tune-armv6}"
diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf
index 6a64677..69bc8db 100644
--- a/conf/machine/raspberrypi.conf
+++ b/conf/machine/raspberrypi.conf
@@ -5,6 +5,8 @@
5 5
6TARGET_ARCH = "arm" 6TARGET_ARCH = "arm"
7 7
8require conf/machine/include/tune-arm1176jzf-s.inc
9
8GUI_MACHINE_CLASS = "bigscreen" 10GUI_MACHINE_CLASS = "bigscreen"
9 11
10IMAGE_FSTYPES += "tar.bz2" 12IMAGE_FSTYPES += "tar.bz2"