Commit 3a5bfaad authored by Ryan 'Swingflip' Hamlin's avatar Ryan 'Swingflip' Hamlin
Browse files

Finish Hakchi additions

parent 7888fcf1
......@@ -9,6 +9,7 @@ BACKSLASH := \$(BACKSLASH)
filter_out1 = $(filter-out $(firstword $1),$1)
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
ifeq ($(platform),)
platform = unix
ifeq ($(shell uname -s),)
......@@ -28,7 +29,7 @@ else ifneq (,$(findstring armv,$(platform)))
override platform += unix
else ifneq (,$(findstring rpi,$(platform)))
override platform += unix
else ifneq (,$(findstring snesc,$(platfrom)))
else ifneq (,$(findstring snesc,$(platform)))
override platform += unix
endif
......@@ -70,9 +71,10 @@ ifneq (,$(findstring unix,$(platform)))
# Raspberry Pi
else ifneq (,$(findstring rpi,$(platform)))
CXXFLAGS += -DARM
endif
# (S)NESC
else ifneq (,$(findstring snesc,$(platfrom)))
CXXFLAGS += -DARM
ifneq (,$(findstring snesc,$(platform)))
CXXFLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
endif
# OS X
......@@ -529,12 +531,14 @@ else
$(LD) $(fpic) $(SHARED) $(LINKOUT)$@ $(OBJECTS) $(LDFLAGS) $(LIBS)
endif
ifneq (,$(findstring snesc,$(platform)))
mkdir -p hakchi/etc/libretro/core/ hakchi/etc/libretro/info/ hakchi/etc/preinit.d/
cp $(TARGET_NAME)_libretro.so hakchi/etc/libretro/core/
cd hakchi/etc/libretro/info/; wget https://buildbot.libretro.com/assets/frontend/info/$(TARGET_NAME)_libretro.info
cd ../../../; tar -czvf "../CORE_$(TARGET_NAME).hmod" *
touch "../CORE_$(TARGET_NAME).hmod"
@echo "** BUILDING HAKCHI HMOD PACKAGE **"
mkdir -p hakchi/etc/libretro/core/ hakchi/etc/libretro/info/ hakchi/etc/preinit.d/
rm -f hakchi/etc/libretro/info/*
cp $(TARGET_NAME)_libretro.so hakchi/etc/libretro/core/
cd hakchi/etc/libretro/info/; wget https://buildbot.libretro.com/assets/frontend/info/$(TARGET_NAME)_libretro.info
cd hakchi/; tar -czvf "CORE_$(TARGET_NAME).hmod" *
endif
%.o: %.cpp
......@@ -544,5 +548,5 @@ endif
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $(OBJOUT)$@ $<
clean:
rm -f $(OBJECTS) $(TARGET)
rm -f $(OBJECTS) $(TARGET) CORE_$(TARGET_NAME).hmod
endif
[ -f "$mountpoint/usr/bin/clover-canoe-shvc" ] && overmount /usr/bin/clover-canoe-shvc
-----------------------
Name: SNES9x2016
Creator: Libretro
Category: RetroArch Cores
-----------------------
=== SNES9x2016 Core for RetroArch ===
Module adds support for Super Famicom / Super Nintendo
Available executables and arguments to run Core:
- /bin/snes <rom> <clover_args>
- /bin/snes16 <rom> <clover_args>
- /bin/snes9x <rom> <clover_args>
Core by libretro
Built and assembled by HakchiCloud buildbot - [Website](https://hakchiresources.com)
Hakchi module system by madmonkey
NES/SNES Mini shell integration by Cluster
(c) 2016-2018
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment