Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2014 23:48:33 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276047 - in head/sys/arm: allwinner allwinner/a20 altera/socfpga broadcom/bcm2835 freescale/imx freescale/vybrid mv rockchip samsung/exynos ti xilinx
Message-ID:  <201412212348.sBLNmXTB047480@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Dec 21 23:48:32 2014
New Revision: 276047
URL: https://svnweb.freebsd.org/changeset/base/276047

Log:
  Add -march=armv7a to the kernel compile for all ARM systems which are v7a.
  
  Submitted by:	Michal Meloun <meloun@miracle.cz>

Modified:
  head/sys/arm/allwinner/a20/std.a20
  head/sys/arm/allwinner/std.a10
  head/sys/arm/altera/socfpga/std.socfpga
  head/sys/arm/broadcom/bcm2835/std.bcm2835
  head/sys/arm/freescale/imx/std.imx51
  head/sys/arm/freescale/imx/std.imx53
  head/sys/arm/freescale/imx/std.imx6
  head/sys/arm/freescale/vybrid/std.vybrid
  head/sys/arm/mv/std-pj4b.mv
  head/sys/arm/rockchip/std.rk30xx
  head/sys/arm/samsung/exynos/std.exynos5250
  head/sys/arm/samsung/exynos/std.exynos5420
  head/sys/arm/ti/std.ti
  head/sys/arm/xilinx/std.zynq7

Modified: head/sys/arm/allwinner/a20/std.a20
==============================================================================
--- head/sys/arm/allwinner/a20/std.a20	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/allwinner/a20/std.a20	Sun Dec 21 23:48:32 2014	(r276047)
@@ -3,6 +3,7 @@
 
 cpu		CPU_CORTEXA
 machine 	arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 makeoption	ARM_LITTLE_ENDIAN
 
 # Physical memory starts at 0x40200000.  We assume images are loaded at

Modified: head/sys/arm/allwinner/std.a10
==============================================================================
--- head/sys/arm/allwinner/std.a10	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/allwinner/std.a10	Sun Dec 21 23:48:32 2014	(r276047)
@@ -3,6 +3,7 @@
 
 cpu		CPU_CORTEXA
 machine 	arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 makeoption	ARM_LITTLE_ENDIAN
 
 # Physical memory starts at 0x40200000.  We assume images are loaded at

Modified: head/sys/arm/altera/socfpga/std.socfpga
==============================================================================
--- head/sys/arm/altera/socfpga/std.socfpga	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/altera/socfpga/std.socfpga	Sun Dec 21 23:48:32 2014	(r276047)
@@ -4,6 +4,7 @@ makeoption	ARM_LITTLE_ENDIAN
 
 cpu		CPU_CORTEXA
 machine		arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 options		PHYSADDR=0x00000000
 

Modified: head/sys/arm/broadcom/bcm2835/std.bcm2835
==============================================================================
--- head/sys/arm/broadcom/bcm2835/std.bcm2835	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/broadcom/bcm2835/std.bcm2835	Sun Dec 21 23:48:32 2014	(r276047)
@@ -2,6 +2,7 @@
 
 machine	arm armv6
 cpu	CPU_ARM1176
+makeoptions	CONF_CFLAGS="-mcpu=arm1176jzf-s -Wa,-mcpu=arm1176jzf-s"
 
 files	"../broadcom/bcm2835/files.bcm2835"
 

Modified: head/sys/arm/freescale/imx/std.imx51
==============================================================================
--- head/sys/arm/freescale/imx/std.imx51	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/freescale/imx/std.imx51	Sun Dec 21 23:48:32 2014	(r276047)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 machine		arm	armv6
 cpu 		CPU_CORTEXA
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 makeoptions	ARM_LITTLE_ENDIAN
 options		ARM_L2_PIPT
 

Modified: head/sys/arm/freescale/imx/std.imx53
==============================================================================
--- head/sys/arm/freescale/imx/std.imx53	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/freescale/imx/std.imx53	Sun Dec 21 23:48:32 2014	(r276047)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 machine		arm	armv6
 cpu 		CPU_CORTEXA
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 makeoptions	ARM_LITTLE_ENDIAN
 options		ARM_L2_PIPT
 

Modified: head/sys/arm/freescale/imx/std.imx6
==============================================================================
--- head/sys/arm/freescale/imx/std.imx6	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/freescale/imx/std.imx6	Sun Dec 21 23:48:32 2014	(r276047)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 machine		arm	armv6
 cpu 		CPU_CORTEXA
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 makeoptions	ARM_LITTLE_ENDIAN
 options		ARM_L2_PIPT
 

Modified: head/sys/arm/freescale/vybrid/std.vybrid
==============================================================================
--- head/sys/arm/freescale/vybrid/std.vybrid	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/freescale/vybrid/std.vybrid	Sun Dec 21 23:48:32 2014	(r276047)
@@ -4,6 +4,7 @@ makeoption	ARM_LITTLE_ENDIAN
 
 cpu		CPU_CORTEXA
 machine		arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 options		PHYSADDR=0x80000000
 

Modified: head/sys/arm/mv/std-pj4b.mv
==============================================================================
--- head/sys/arm/mv/std-pj4b.mv	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/mv/std-pj4b.mv	Sun Dec 21 23:48:32 2014	(r276047)
@@ -3,5 +3,6 @@
 files		"../mv/files.mv"
 cpu		CPU_MV_PJ4B
 machine 	arm	armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 options		VM_MAXUSER_ADDRESS="(KERNBASE-(1024*1024*1024))"

Modified: head/sys/arm/rockchip/std.rk30xx
==============================================================================
--- head/sys/arm/rockchip/std.rk30xx	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/rockchip/std.rk30xx	Sun Dec 21 23:48:32 2014	(r276047)
@@ -3,6 +3,7 @@
 
 cpu		CPU_CORTEXA
 machine		arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 makeoption	ARM_LITTLE_ENDIAN
 
 # Physical memory starts at 0x60400000.  We assume images are loaded at

Modified: head/sys/arm/samsung/exynos/std.exynos5250
==============================================================================
--- head/sys/arm/samsung/exynos/std.exynos5250	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/samsung/exynos/std.exynos5250	Sun Dec 21 23:48:32 2014	(r276047)
@@ -4,6 +4,7 @@ makeoption	ARM_LITTLE_ENDIAN
 
 cpu		CPU_CORTEXA
 machine		arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 options		PHYSADDR=0x40000000
 

Modified: head/sys/arm/samsung/exynos/std.exynos5420
==============================================================================
--- head/sys/arm/samsung/exynos/std.exynos5420	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/samsung/exynos/std.exynos5420	Sun Dec 21 23:48:32 2014	(r276047)
@@ -4,6 +4,7 @@ makeoption	ARM_LITTLE_ENDIAN
 
 cpu		CPU_CORTEXA
 machine		arm armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 options		PHYSADDR=0x20000000
 

Modified: head/sys/arm/ti/std.ti
==============================================================================
--- head/sys/arm/ti/std.ti	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/ti/std.ti	Sun Dec 21 23:48:32 2014	(r276047)
@@ -2,5 +2,6 @@
 
 cpu 		CPU_CORTEXA
 machine 	arm	armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 files		"../ti/files.ti"

Modified: head/sys/arm/xilinx/std.zynq7
==============================================================================
--- head/sys/arm/xilinx/std.zynq7	Sun Dec 21 23:47:30 2014	(r276046)
+++ head/sys/arm/xilinx/std.zynq7	Sun Dec 21 23:48:32 2014	(r276047)
@@ -5,6 +5,7 @@
 
 cpu		CPU_CORTEXA
 machine		arm	armv6
+makeoptions	CONF_CFLAGS="-march=armv7a -Wa,-march=armv7a"
 
 files		"../xilinx/files.zynq7"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412212348.sBLNmXTB047480>