diff options
author | David-John Willis <John.Willis@Distant-earth.com> | 2012-04-03 22:21:56 +0100 |
---|---|---|
committer | David-John Willis <John.Willis@Distant-earth.com> | 2012-04-03 22:21:56 +0100 |
commit | a962507532f1c8eaf1e50aa3e3c3683f3a212c36 (patch) | |
tree | bd5fd6a9eba9f52d32bfcd2f01e155c75b937ebf | |
parent | 17290c986b72fa6d6ba5d8e698a0cd3d8102e723 (diff) | |
download | meta-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.inc | 10 | ||||
-rw-r--r-- | conf/machine/raspberrypi.conf | 2 |
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 @@ | |||
1 | DEFAULTTUNE ?= "arm1176jzfs" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv6.inc | ||
4 | |||
5 | TUNEVALID[arm1176jzfs] = "Enable arm1176jzfs specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "arm1176jzfs", "-mtune=arm1176jzf-s", "", d)}" | ||
7 | |||
8 | AVAILTUNES += "arm1176jzfs" | ||
9 | TUNE_FEATURES_tune-arm1176jzfs = "${TUNE_FEATURES_tune-armv6} arm1176jzfs" | ||
10 | PACKAGE_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 | ||
6 | TARGET_ARCH = "arm" | 6 | TARGET_ARCH = "arm" |
7 | 7 | ||
8 | require conf/machine/include/tune-arm1176jzf-s.inc | ||
9 | |||
8 | GUI_MACHINE_CLASS = "bigscreen" | 10 | GUI_MACHINE_CLASS = "bigscreen" |
9 | 11 | ||
10 | IMAGE_FSTYPES += "tar.bz2" | 12 | IMAGE_FSTYPES += "tar.bz2" |