mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove “localversion” script.
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,7 +1,4 @@
|
|||||||
localversion = $(shell sh scripts/localversion.sh)
|
CFLAGS += -Wall -Iinclude -Iinclude/asm/gameboy -g -std=c99 \
|
||||||
|
|
||||||
CFLAGS += -Wall -Iinclude -Iinclude/asm/gameboy \
|
|
||||||
-DLOCALVERSION=\"$(localversion)\" -g -std=c99 \
|
|
||||||
-D_POSIX_C_SOURCE=200112L
|
-D_POSIX_C_SOURCE=200112L
|
||||||
|
|
||||||
yacc_pre := \
|
yacc_pre := \
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#define ASMOTOR
|
#define ASMOTOR
|
||||||
|
|
||||||
#define ASMOTOR_VERSION "1.10-linux" LOCALVERSION
|
#define ASMOTOR_VERSION "1.10-linux"
|
||||||
|
|
||||||
#define ASM_VERSION "1.08c"
|
#define ASM_VERSION "1.08c"
|
||||||
#define LINK_VERSION "1.06c"
|
#define LINK_VERSION "1.06c"
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
#
|
|
||||||
# Use git to figure out which version we are using.
|
|
||||||
#
|
|
||||||
# Adapted from a script written by Rene Scharfe <rene.scharfe@lsrfire.ath.cx>,
|
|
||||||
# found in the Linux Kernel.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -u
|
|
||||||
|
|
||||||
if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
|
|
||||||
printf '%s%s' -g $head
|
|
||||||
|
|
||||||
git update-index --refresh --unmerged > /dev/null
|
|
||||||
if git diff-index --name-only HEAD | read dummy; then
|
|
||||||
printf '%s' -dirty
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user