summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"