mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 06:32:34 -05:00
Some older versions of the ROM (TA3 for example), use a 64 byte report size instead of 1024, so hardcoding 1024 is just a bad idea. Change-Id: I720c4465cfe2f519bffa307175614bba58766dce
20 lines
418 B
Makefile
20 lines
418 B
Makefile
#
|
|
# common
|
|
#
|
|
CC=arm-elf-eabi-gcc
|
|
LD=arm-elf-eabi-gcc
|
|
AS=arm-elf-eabi-gcc
|
|
OC=arm-elf-eabi-objcopy
|
|
SBTOELF=$(CURDIR)/../../../imxtools/sbtools/elftosb
|
|
DEFINES=
|
|
INCLUDES=-I$(CURDIR)
|
|
GCCOPTS=-mcpu=arm926ej-s
|
|
BUILD_DIR=$(CURDIR)/build/
|
|
ROOT_DIR=$(CURDIR)/..
|
|
EXEC=$(BUILD_DIR)/hwstub.sb
|
|
|
|
include ../hwstub.make
|
|
|
|
$(BUILD_DIR)/hwstub.sb: $(EXEC_BIN)
|
|
$(call PRINTS,SBTOELF $(@F))
|
|
$(SILENT)$(SBTOELF) -z -c hwstub.db -o $@ $<
|