Skip to content

Commit b56b900

Browse files
committed
.retrofe folder in /mnt/FunKey to store new themes (in layouts folder), increased image size by 20M, bibi
1 parent 7dae96d commit b56b900

File tree

7 files changed

+60
-4
lines changed

7 files changed

+60
-4
lines changed

FunKey/board/funkey/rootfs-overlay/root/.profile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ mkdir -p "${MEDNAFEN_HOME}"
5555
cp "/usr/games/lynxboot.img" "/usr/games/mednafen-09x.cfg" "${MEDNAFEN_HOME}/"
5656
export GMENU2X_HOME="$HOME/.gmenu2x"
5757
mkdir -p "${GMENU2X_HOME}"
58+
export RETROFE_HOME="$HOME/.retrofe"
59+
mkdir -p "${RETROFE_HOME}"
60+
mkdir -p "${RETROFE_HOME}/layouts"
5861

5962
# Resize the console to the terminal dimensions
6063
resize() {

FunKey/configs/funkey_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ BR2_PACKAGE_UTIL_LINUX_BINARIES=y
105105
BR2_PACKAGE_NANO=y
106106
BR2_TARGET_ROOTFS_EXT2=y
107107
BR2_TARGET_ROOTFS_EXT2_4=y
108-
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
108+
BR2_TARGET_ROOTFS_EXT2_SIZE="220M"
109109
# BR2_TARGET_ROOTFS_TAR is not set
110110
BR2_PACKAGE_HOST_DOSFSTOOLS=y
111111
BR2_PACKAGE_HOST_DTC=y

FunKey/package/bibi/Config.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
config BR2_PACKAGE_BIBI
2+
bool "FunKey S - bibi"
3+
default y
4+
help
5+
Bomberman game in c with SDL, readapted for the FunKey S.

FunKey/package/bibi/bibi.mk

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
################################################################################
2+
#
3+
# bibi
4+
#
5+
################################################################################
6+
7+
BIBI_VERSION = 36a2f57
8+
BIBI_SITE_METHOD = git
9+
BIBI_SITE = https://github.com/FunKey-Project/Bibi.git
10+
BIBI_SITE_LICENSE = GPL-2.1+
11+
BIBI_SITE_LICENSE_FILES = COPYING
12+
13+
BIBI_DEPENDENCIES = sdl sdl_image sdl_ttf
14+
15+
BIBI_CFLAGS = $(TARGET_CFLAGS)
16+
17+
BIBI_SDL_CFLAGS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --cflags)
18+
BIBI_SDL_LIBS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --libs)
19+
BIBI_SDL_CFLAGS += $(shell $(STAGING_DIR)/usr/bin/libmikmod-config --cflags)
20+
BIBI_SDL_LIBS += $(shell $(STAGING_DIR)/usr/bin/libmikmod-config --libs)
21+
22+
BIBI_CFLAGS += -ggdb -O3
23+
BIBI_CFLAGS += $(BIBI_SDL_CFLAGS)
24+
BIBI_CFLAGS += -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED -DBYPASS_MENU -DFUNKEY_MENU
25+
26+
BIBI_LIBS += $(BIBI_SDL_LIBS)
27+
BIBI_LIBS += -lSDL -lSDL_ttf -lSDL_image -lSDL_mixer
28+
29+
define BIBI_BUILD_CMDS
30+
(cd $(@D); \
31+
make \
32+
CROSS_COMPILE=$(TARGET_CROSS) \
33+
CFLAGS='$(BIBI_CFLAGS)' \
34+
LDFLAGS='$(BIBI_LIBS)' \
35+
SDL_INCLUDES='$(BIBI_SDL_CFLAGS)' \
36+
SDL_LIBS='$(BIBI_SDL_LIBS)' \
37+
)
38+
endef
39+
40+
define BIBI_INSTALL_TARGET_CMDS
41+
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/bibi
42+
$(INSTALL) -m 0755 $(@D)/bibi $(TARGET_DIR)/usr/games/bibi/bibi
43+
$(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/games/bibi/sprite $(@D)/sprite/*
44+
$(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/games/bibi/data $(@D)/data/*
45+
$(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/games/bibi/audio $(@D)/audio/*
46+
endef
47+
48+
$(eval $(generic-package))

FunKey/package/retrofe/retrofe.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
################################################################################
66

7-
RETROFE_VERSION = f162704
7+
RETROFE_VERSION = 0fcc268
88
RETROFE_SITE_METHOD = git
99
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
1010
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib

genimage-prod.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ image sdcard-prod.img {
3131
partition-type = 0x83
3232
bootable = "yes"
3333
image = "FunKey/output/images/rootfs.ext4"
34-
size = 200M # This will be resized to 1G during first boot
34+
size = 220M # This will be resized to 1G during first boot
3535
}
3636

3737
# These partitions will be created during first boot

genimage.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ image sdcard.img {
3131
partition-type = 0x83
3232
bootable = "yes"
3333
image = "FunKey/output/images/rootfs.ext4"
34-
size = 200M # This will be resized to 1G during first boot
34+
size = 220M # This will be resized to 1G during first boot
3535
}
3636

3737
# These partitions will be created during first boot

0 commit comments

Comments
 (0)