summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/stub/stmp/Makefile
blob: 3ac7e3bbd4144624befedadc7e818e2444b2b265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# 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 $@ $<