xref: /aoo41x/main/solenv/inc/unxfbsdr.mk (revision 0bd9e244)
1*0bd9e244Spfg#**************************************************************
2*0bd9e244Spfg#
3*0bd9e244Spfg#  Licensed to the Apache Software Foundation (ASF) under one
4*0bd9e244Spfg#  or more contributor license agreements.  See the NOTICE file
5*0bd9e244Spfg#  distributed with this work for additional information
6*0bd9e244Spfg#  regarding copyright ownership.  The ASF licenses this file
7*0bd9e244Spfg#  to you under the Apache License, Version 2.0 (the
8*0bd9e244Spfg#  "License"); you may not use this file except in compliance
9*0bd9e244Spfg#  with the License.  You may obtain a copy of the License at
10*0bd9e244Spfg#
11*0bd9e244Spfg#    http://www.apache.org/licenses/LICENSE-2.0
12*0bd9e244Spfg#
13*0bd9e244Spfg#  Unless required by applicable law or agreed to in writing,
14*0bd9e244Spfg#  software distributed under the License is distributed on an
15*0bd9e244Spfg#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*0bd9e244Spfg#  KIND, either express or implied.  See the License for the
17*0bd9e244Spfg#  specific language governing permissions and limitations
18*0bd9e244Spfg#  under the License.
19*0bd9e244Spfg#
20*0bd9e244Spfg#**************************************************************
21*0bd9e244Spfg
22*0bd9e244Spfg
23*0bd9e244Spfg
24*0bd9e244Spfg# mk file for FreeBSD Unix ARM using GCC, please make generic modifications
25*0bd9e244Spfg# to unxfbsd.mk
26*0bd9e244Spfg
27*0bd9e244SpfgCDEFAULTOPT=-Os
28*0bd9e244SpfgCDEFS+=-DARM32
29*0bd9e244SpfgCFLAGS+=-fno-omit-frame-pointer
30*0bd9e244SpfgDLLPOSTFIX=
31*0bd9e244Spfg
32*0bd9e244Spfg.IF "$(ARM_TARGET)" == "ARMV4T"
33*0bd9e244SpfgARCH_FLAGS+=-march=armv4t
34*0bd9e244SpfgCDEFS+=-DARMV4T
35*0bd9e244Spfg.ENDIF
36*0bd9e244Spfg
37*0bd9e244Spfg.IF "$(ARM_TARGET)" == "ARMV6"
38*0bd9e244SpfgARCH_FLAGS+=-march=armv6
39*0bd9e244SpfgCDEFS+=-DARMV6
40*0bd9e244Spfg.ENDIF
41*0bd9e244Spfg
42*0bd9e244Spfg.IF "$(ARM_TARGET)" == "ARMV7"
43*0bd9e244SpfgARCH_FLAGS+=-march=armv7-a -mtune=cortex-a8 -mfpu=neon
44*0bd9e244SpfgCDEFS+=-DARMV7
45*0bd9e244Spfg.ENDIF
46*0bd9e244Spfg
47