mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
erosqnative: Give erosqnative_v3 its own target ID and modelname
This is needed so "make clean; make reconf" will work correctly. Change-Id: Ife13e59ac6054f04f7095aa2263ec64595eeb3a2
This commit is contained in:
parent
a86e2b5c6e
commit
a5462d6192
3 changed files with 11 additions and 11 deletions
|
|
@ -9,15 +9,15 @@
|
||||||
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
||||||
#define BOOTDIR "/.rockbox"
|
#define BOOTDIR "/.rockbox"
|
||||||
|
|
||||||
/* Define EROSQN_VER as a GCC option if desired -
|
/* Define EROSQN_VER as an "extradefine" in the configure script -
|
||||||
* v1, v2 players: "1"
|
* v1, v2 players: "1"
|
||||||
* v3 players: "3"
|
* v3 players: "3"
|
||||||
* Only bootloader will be affected
|
* Only bootloader will be affected.
|
||||||
|
*
|
||||||
|
* This allows us to fix the LCD init issues with v3 players.
|
||||||
*/
|
*/
|
||||||
#ifdef BOOTLOADER
|
#ifndef EROSQN_VER
|
||||||
# ifndef EROSQN_VER /* this should probably go in config/erosqnative.h*/
|
#error "Must define EROSQN_VER"
|
||||||
# define EROSQN_VER 1
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* CPU defines */
|
/* CPU defines */
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ include $(ROOTDIR)/lib/microtar/microtar.make
|
||||||
INCLUDES += -I$(APPSDIR)
|
INCLUDES += -I$(APPSDIR)
|
||||||
SRC += $(call preprocess, $(APPSDIR)/SOURCES)
|
SRC += $(call preprocess, $(APPSDIR)/SOURCES)
|
||||||
|
|
||||||
LDSDEP := $(FIRMDIR)/export/cpu.h $(FIRMDIR)/export/config/$(MODELNAME).h
|
LDSDEP := $(FIRMDIR)/export/cpu.h $(FIRMDIR)/export/config.h
|
||||||
|
|
||||||
BOOTLDS := $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/boot.lds
|
BOOTLDS := $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/boot.lds
|
||||||
BOOTLINK := $(BUILDDIR)/boot.link
|
BOOTLINK := $(BUILDDIR)/boot.link
|
||||||
|
|
|
||||||
8
tools/configure
vendored
8
tools/configure
vendored
|
|
@ -4194,12 +4194,12 @@ fi
|
||||||
t_model="erosqnative"
|
t_model="erosqnative"
|
||||||
# player version, for bootloader usage
|
# player version, for bootloader usage
|
||||||
# versions 1 and 2 both use 1
|
# versions 1 and 2 both use 1
|
||||||
GCCOPTS="$GCCOPTS -DEROSQN_VER=1"
|
extradefines="$extradefines -DEROSQN_VER=1"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
248|erosqnative_v3)
|
248|erosqnative_v3)
|
||||||
target_id=116
|
target_id=117
|
||||||
modelname="erosqnative"
|
modelname="erosqnative_v3"
|
||||||
target="EROS_QN"
|
target="EROS_QN"
|
||||||
memory=32
|
memory=32
|
||||||
mipsr2elcc
|
mipsr2elcc
|
||||||
|
|
@ -4221,7 +4221,7 @@ fi
|
||||||
t_model="erosqnative"
|
t_model="erosqnative"
|
||||||
# player version, for bootloader usage
|
# player version, for bootloader usage
|
||||||
# version 3
|
# version 3
|
||||||
GCCOPTS="$GCCOPTS -DEROSQN_VER=3"
|
extradefines="$extradefines -DEROSQN_VER=3"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue