Fix version check for the update chainloader

This commit is contained in:
Kostas Missos
2018-09-19 00:36:40 +03:00
parent fc0f75495e
commit b54cbbfc3c
2 changed files with 5 additions and 5 deletions

View File

@@ -5,6 +5,8 @@ endif
include $(DEVKITARM)/base_rules
TARGET := hekate
BLVERSION_MAJOR := 4
BLVERSION_MINOR := 0
BUILD := build
OUTPUT := output
SOURCEDIR = bootloader
@@ -53,7 +55,8 @@ OBJS += $(addprefix $(BUILD)/$(TARGET)/, \
)
ARCH := -march=armv4t -mtune=arm7tdmi -mthumb -mthumb-interwork
CUSTOMDEFINES := -DMENU_LOGO_ENABLE #-DDEBUG
CUSTOMDEFINES := -DBLVERSIONMJ=$(BLVERSION_MAJOR) -DBLVERSIONMN=$(BLVERSION_MINOR)
CUSTOMDEFINES += -DMENU_LOGO_ENABLE #-DDEBUG
CFLAGS = $(ARCH) -O2 -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-inline -std=gnu11 -Wall $(CUSTOMDEFINES)
LDFLAGS = $(ARCH) -nostartfiles -lgcc -Wl,--nmagic,--gc-sections