diff options
Diffstat (limited to 'utils/hwstub/stub/stmp/Makefile')
-rw-r--r-- | utils/hwstub/stub/stmp/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/utils/hwstub/stub/stmp/Makefile b/utils/hwstub/stub/stmp/Makefile index 14e6d0fbba..3ac7e3bbd4 100644 --- a/utils/hwstub/stub/stmp/Makefile +++ b/utils/hwstub/stub/stmp/Makefile | |||
@@ -5,10 +5,16 @@ CC=arm-elf-eabi-gcc | |||
5 | LD=arm-elf-eabi-gcc | 5 | LD=arm-elf-eabi-gcc |
6 | AS=arm-elf-eabi-gcc | 6 | AS=arm-elf-eabi-gcc |
7 | OC=arm-elf-eabi-objcopy | 7 | OC=arm-elf-eabi-objcopy |
8 | SBTOELF=$(CURDIR)/../../../imxtools/sbtools/elftosb | ||
8 | DEFINES= | 9 | DEFINES= |
9 | INCLUDES=-I$(CURDIR) | 10 | INCLUDES=-I$(CURDIR) |
10 | GCCOPTS=-mcpu=arm926ej-s | 11 | GCCOPTS=-mcpu=arm926ej-s |
11 | BUILD_DIR=$(CURDIR)/build/ | 12 | BUILD_DIR=$(CURDIR)/build/ |
12 | ROOT_DIR=$(CURDIR)/.. | 13 | ROOT_DIR=$(CURDIR)/.. |
13 | 14 | EXEC=$(BUILD_DIR)/hwstub.sb | |
14 | include ../hwstub.make \ No newline at end of file | 15 | |
16 | include ../hwstub.make | ||
17 | |||
18 | $(BUILD_DIR)/hwstub.sb: $(EXEC_BIN) | ||
19 | $(call PRINTS,SBTOELF $(@F)) | ||
20 | $(SILENT)$(SBTOELF) -z -c hwstub.db -o $@ $< \ No newline at end of file | ||