hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From a3192c47e67092f354edc3d9f8c16aa07ea81dc4 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Wed, 30 Jan 2019 20:19:23 +0800
Subject: [PATCH] Skip cpu settings for buildroot on rpi platform
 
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
 Makefile.libretro | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 
diff --git a/Makefile.libretro b/Makefile.libretro
index 535d5c7..232543b 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -288,8 +288,10 @@ else ifeq ($(platform), ctr)
    OBJS +=platform/libretro/3ds/3ds_utils.o
 
 # Raspberry Pi (original model) Raspbian
-else ifeq ($(platform), raspberrypi)
+else ifneq (,$(findstring raspberrypi,$(platform)))
+   ifeq (,$(findstring buildroot,$(platform)))
    CFLAGS += -marm -mfpu=vfp -mfloat-abi=hard -march=armv6j
+   endif
    CFLAGS += -Wall -mword-relocations
    CFLAGS += -fomit-frame-pointer -ffast-math
    ARCH = arm
-- 
2.11.0