Rename a file. Also fix naming frt's executable.

This commit is contained in:
Relintai 2024-04-21 12:28:24 +02:00
parent dcd8a15cdb
commit 945f1c5116
6 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
all: all:
@echo @echo
@echo FRT is not meant to be compiled stand alone out of the box. @echo FRT is not meant to be compiled stand alone out of the box.
@echo You need to put it in the \"platform\" directory of godot and use @echo You need to put it in the \"platform\" directory of pandemonium and use
@echo scons as usual. @echo scons as usual.
@echo @echo
@echo For example, from the main top level godot directory, type: @echo For example, from the main top level pandemonium directory, type:
@echo @echo
@echo " " scons platform=frt target=release tools=no frt_arch=pi3 @echo " " scons platform=frt target=release tools=no frt_arch=pi3
@echo @echo

View File

@ -25,4 +25,4 @@ if os.path.isfile('/opt/vc/include/bcm_host.h'):
if os.path.isfile('/usr/include/libdrm/drm.h'): if os.path.isfile('/usr/include/libdrm/drm.h'):
frt_env.Append(CCFLAGS=["-I/usr/include/libdrm"]) frt_env.Append(CCFLAGS=["-I/usr/include/libdrm"])
frt_env.Program('#bin/godot', ['godot_frt.cpp', 'os_frt.cpp', 'frt_options.cpp'] + env['FRT_MODULES']) frt_env.Program('#bin/pandemonium', ['pandemonium_frt.cpp', 'os_frt.cpp', 'frt_options.cpp'] + env['FRT_MODULES'])

View File

@ -85,7 +85,7 @@ void show_param_list() {
void usage(const char *program_name, int code = 1) { void usage(const char *program_name, int code = 1) {
printf("\n" printf("\n"
"usage: %s [godot args] [--frt [options] [param=value...]]\n" "usage: %s [pandemonium args] [--frt [options] [param=value...]]\n"
"\n" "\n"
"options:\n" "options:\n"
" -v show version and exit\n" " -v show version and exit\n"

View File

@ -32,7 +32,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
// imported from godot (core/os/keyboard.h), adding prefixes to avoid // imported from pandemonium (core/os/keyboard.h), adding prefixes to avoid
// clashes with the linux input api // clashes with the linux input api
enum { GD_SPKEY = (1 << 24) }; enum { GD_SPKEY = (1 << 24) };

View File

@ -1,5 +1,5 @@
/*************************************************************************/ /*************************************************************************/
/* godot_frt.cpp */ /* pandemonium_frt.cpp */
/*************************************************************************/ /*************************************************************************/
/* This file is part of: */ /* This file is part of: */
/* PANDEMONIUM ENGINE */ /* PANDEMONIUM ENGINE */
@ -29,7 +29,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
// godot_frt.cpp // pandemonium_frt.cpp
/* /*
* FRT - A Godot platform targeting single board computers * FRT - A Godot platform targeting single board computers
* Copyright (c) 2017-2019 Emanuele Fornara * Copyright (c) 2017-2019 Emanuele Fornara

View File

@ -41,7 +41,7 @@ release() {
local bin local bin
[ -d releases ] || return [ -d releases ] || return
bin=releases/frt_${fver}_${tag}_${arch}.bin bin=releases/frt_${fver}_${tag}_${arch}.bin
cp tag_$tag/bin/godot.frt.opt$extrasuffix.$arch $bin cp tag_$tag/bin/pandemonium.frt.opt$extrasuffix.$arch $bin
$stripcmd $bin $stripcmd $bin
} }