Skip to content

Commit f27942a

Browse files
committed
Fixed make TARGET=CORTEXA9 and CORTEXA15 bug.
1 parent 0cc2b3d commit f27942a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

getarch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
750750
#define ARCHITECTURE "ARM"
751751
#define SUBARCHITECTURE "CORTEXA9"
752752
#define SUBDIRNAME "arm"
753-
#define ARCHCONFIG "-DCORTEXA9 " \
753+
#define ARCHCONFIG "-DCORTEXA9 -DARMV7 " \
754754
"-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=32 " \
755755
"-DL2_SIZE=1048576 -DL2_LINESIZE=32 " \
756756
"-DDTB_DEFAULT_ENTRIES=128 -DDTB_SIZE=4096 -DL2_ASSOCIATIVE=4 " \
@@ -765,7 +765,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
765765
#define ARCHITECTURE "ARM"
766766
#define SUBARCHITECTURE "CORTEXA15"
767767
#define SUBDIRNAME "arm"
768-
#define ARCHCONFIG "-DCORTEXA15 " \
768+
#define ARCHCONFIG "-DCORTEXA15 -DARMV7 " \
769769
"-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=32 " \
770770
"-DL2_SIZE=1048576 -DL2_LINESIZE=32 " \
771771
"-DDTB_DEFAULT_ENTRIES=128 -DDTB_SIZE=4096 -DL2_ASSOCIATIVE=4 " \

0 commit comments

Comments
 (0)