forked from leandrotsampa/RetroArch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.attostb
executable file
·48 lines (40 loc) · 1.77 KB
/
Makefile.attostb
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
include version.all
ALT_VER := $(shell echo $(RARCH_VERSION) | tr . _)
MODS_VER := Official_Retroarch_v$(ALT_VER)
MODS_NAME := RetroArch v$(RARCH_VERSION) (Official Optimised)
VERSION := $(RARCH_VERSION)
MOD_CREATOR := leandrotsampa
MOD_CATEGORY := RetroArch
GIT_COMMIT := $(shell echo "`git rev-parse --short HEAD``git diff-index --quiet HEAD -- || echo '-dirty'`")
# General Shared Variables ############
TARGET := retroarch
# Libretro Defines ####################
#HAVE_NEON = Enable NEON support
all: $(TARGET)
retroarch:
CFLAGS="-march=armv7ve -mtune=cortex-a53 -mfpu=neon-vfpv4 -mvectorize-with-neon-quad" ./configure --host=arm-linux-gnueabi --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc --mandir=/usr/share/man --enable-xmb --enable-menu_widgets --enable-libusb --enable-alsa --enable-egl --disable-opengl1 --enable-opengles --enable-opengles3 --enable-mali_fbdev --enable-threads --enable-thread_storage --enable-ffmpeg --disable-x11 --disable-pulse --disable-oss --disable-qt --disable-sdl --disable-sdl2 --disable-wayland
make HAVE_NEON=1
arm-linux-gnueabi-strip -v retroarch
@echo "*********************************************************************"
@echo "*** ARM Cortex A53 build as successfully! ***"
@echo "****************** Winner, Winner, Chicken Dinner! ******************"
@echo "*********************************************************************"
clean:
rm -rf obj-unix
rm -f *.d
rm -f *.o
rm -f audio/*.o
rm -f conf/*.o
rm -f gfx/*.o
rm -f gfx/drivers_font/*.o
rm -f gfx/drivers_font_renderer/*.o
rm -f gfx/drivers_context/*.o
rm -f gfx/py_state/*.o
rm -f compat/*.o
rm -f record/*.o
rm -f input/*.o
rm -f tools/*.o
rm -f $(BINDIR)/retroarch
rm -f $(BINDIR)/retroarch-joyconfig
rm -f $(PNDDIR)/readme.html
rm -f retroarch