Changeset 379
- Timestamp:
- 04/10/08 15:20:00 (5 years ago)
- Location:
- trunk/platform
- Files:
-
- 1 added
- 82 edited
-
a450/sub/100d/Makefile (modified) (1 diff)
-
a450/sub/100d/stubs_auto.S (modified) (1 diff)
-
a460/sub/100d/Makefile (modified) (1 diff)
-
a460/sub/100d/stubs_auto.S (modified) (1 diff)
-
a530/sub/100a/Makefile (modified) (1 diff)
-
a530/sub/100a/stubs_auto.S (modified) (5 diffs)
-
a540/sub/100b/Makefile (modified) (1 diff)
-
a540/sub/100b/stubs_auto.S (modified) (1 diff)
-
a550/sub/100c/Makefile (modified) (1 diff)
-
a550/sub/100c/stubs_auto.S (modified) (1 diff)
-
a560/sub/100a/Makefile (modified) (1 diff)
-
a560/sub/100a/stubs_auto.S (modified) (1 diff)
-
a570/sub/100e/Makefile (modified) (1 diff)
-
a570/sub/100e/stubs_auto.S (modified) (1 diff)
-
a570/sub/101a/Makefile (modified) (1 diff)
-
a570/sub/101a/stubs_auto.S (modified) (1 diff)
-
a610/sub/100e/Makefile (modified) (1 diff)
-
a610/sub/100e/stubs_auto.S (modified) (1 diff)
-
a610/sub/100f/Makefile (modified) (1 diff)
-
a610/sub/100f/stubs_auto.S (modified) (1 diff)
-
a620/sub/100f/Makefile (modified) (1 diff)
-
a620/sub/100f/stubs_auto.S (modified) (1 diff)
-
a630/sub/100c/Makefile (modified) (1 diff)
-
a630/sub/100c/stubs_auto.S (modified) (1 diff)
-
a640/sub/100b/Makefile (modified) (1 diff)
-
a640/sub/100b/stubs_auto.S (modified) (1 diff)
-
a650/sub/100d/Makefile (modified) (1 diff)
-
a650/sub/100d/stubs_auto.S (modified) (1 diff)
-
a700/sub/100b/Makefile (modified) (1 diff)
-
a700/sub/100b/stubs_auto.S (modified) (1 diff)
-
a710/sub/100a/Makefile (modified) (1 diff)
-
a710/sub/100a/stubs_auto.S (modified) (1 diff)
-
a720/sub/100c/Makefile (modified) (1 diff)
-
a720/sub/100c/stubs_auto.S (modified) (1 diff)
-
g7/sub/100e/Makefile (modified) (1 diff)
-
g7/sub/100e/stubs_auto.S (modified) (1 diff)
-
g7/sub/100g/Makefile (modified) (1 diff)
-
g7/sub/100g/stubs_auto.S (modified) (1 diff)
-
g7/sub/100i/Makefile (modified) (1 diff)
-
g7/sub/100i/stubs_auto.S (modified) (1 diff)
-
g7/sub/100j/Makefile (modified) (1 diff)
-
g7/sub/100j/stubs_auto.S (modified) (1 diff)
-
ixus40_sd300/sub/100k/Makefile (modified) (1 diff)
-
ixus50_sd400/sub/101a/Makefile (modified) (1 diff)
-
ixus55_sd450/sub/100b/Makefile (modified) (1 diff)
-
ixus55_sd450/sub/100b/stubs_auto.S (modified) (1 diff)
-
ixus55_sd450/sub/100c/Makefile (modified) (1 diff)
-
ixus55_sd450/sub/100c/stubs_auto.S (modified) (1 diff)
-
ixus65_sd630/sub/100a/Makefile (modified) (1 diff)
-
ixus65_sd630/sub/100a/stubs_auto.S (modified) (1 diff)
-
ixus700_sd500/sub/101a/Makefile (modified) (1 diff)
-
ixus700_sd500/sub/101a/stubs_auto.S (modified) (1 diff)
-
ixus700_sd500/sub/101b/Makefile (modified) (1 diff)
-
ixus700_sd500/sub/101b/stubs_auto.S (modified) (1 diff)
-
ixus70_sd1000/sub/100c/Makefile (modified) (1 diff)
-
ixus70_sd1000/sub/100c/stubs_auto.S (modified) (1 diff)
-
ixus70_sd1000/sub/101b/Makefile (modified) (1 diff)
-
ixus70_sd1000/sub/101b/stubs_auto.S (modified) (1 diff)
-
ixus70_sd1000/sub/102a/Makefile (modified) (1 diff)
-
ixus70_sd1000/sub/102a/stubs_auto.S (modified) (1 diff)
-
ixus800_sd700/sub/100b/Makefile (modified) (1 diff)
-
ixus800_sd700/sub/100b/stubs_auto.S (modified) (1 diff)
-
ixus800_sd700/sub/101b/Makefile (modified) (1 diff)
-
ixus800_sd700/sub/101b/stubs_auto.S (modified) (1 diff)
-
ixus850_sd800/sub/100e/Makefile (modified) (1 diff)
-
ixus850_sd800/sub/100e/stubs_auto.S (modified) (1 diff)
-
ixus860_sd870/sub/100c/Makefile (modified) (1 diff)
-
ixus860_sd870/sub/100c/stubs_auto.S (modified) (1 diff)
-
ixus950_sd850/sub/100c/Makefile (modified) (1 diff)
-
ixus950_sd850/sub/100c/stubs_auto.S (modified) (1 diff)
-
ixusW_sd430/sub/110a/Makefile (modified) (1 diff)
-
makefile_sub.inc (added)
-
s2is/sub/100e/Makefile (modified) (1 diff)
-
s2is/sub/100e/stubs_auto.S (modified) (1 diff)
-
s2is/sub/100f/Makefile (modified) (1 diff)
-
s2is/sub/100f/stubs_auto.S (modified) (1 diff)
-
s2is/sub/100g/Makefile (modified) (1 diff)
-
s2is/sub/100g/stubs_auto.S (modified) (1 diff)
-
s3is/sub/100a/Makefile (modified) (1 diff)
-
s3is/sub/100a/stubs_auto.S (modified) (1 diff)
-
s5is/sub/101b/Makefile (modified) (1 diff)
-
s5is/sub/101b/stubs_auto.S (modified) (1 diff)
-
s80/sub/100g/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/platform/a450/sub/100d/Makefile
r378 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a450/sub/100d/stubs_auto.S
r378 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a460/sub/100d/Makefile
r309 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a460/sub/100d/stubs_auto.S
r309 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a530/sub/100a/Makefile
r336 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a530/sub/100a/stubs_auto.S
r336 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 … … 25 27 STUB(FFC84E9C) 26 28 STUB(FFC8C01C) 29 STUB(FFD2A338) 27 30 STUB(FFD2A3C4) 28 31 STUB(FFD2A3C8) … … 31 34 STUB(FFD2A628) 32 35 STUB(FFD2A9FC) 36 STUB(FFD2AA78) 37 STUB(FFD2AA8C) 38 STUB(FFD2AB00) 33 39 STUB(FFD2AB18) 40 STUB(FFD2AB24) 41 STUB(FFD2AB98) 34 42 STUB(FFD2AB9C) 43 STUB(FFD2ABB4) 35 44 STUB(FFD2ABC0) 36 45 STUB(FFD2AC0C) … … 43 52 STUB(FFD2B164) 44 53 STUB(FFD2B4C0) 54 STUB(FFD2B508) 45 55 STUB(FFD2B50C) 56 STUB(FFD2B51C) 57 STUB(FFD2B574) 58 STUB(FFD2B580) 59 STUB(FFD2B5B0) 46 60 STUB(FFD2B5B8) 47 61 STUB(FFD2B5D4) 48 62 STUB(FFD2C0D0) 63 STUB(FFD2C198) 64 STUB(FFD2C1A0) 65 STUB(FFD2C1A4) 66 STUB(FFD2C1F0) 49 67 STUB(FFD2C1F8) 68 STUB(FFD2C228) 69 STUB(FFD2C2F0) 70 STUB(FFD2C32C) 50 71 STUB(FFD2C338) 72 STUB(FFD2C38C) 51 73 STUB(FFD2C3A8) 74 STUB(FFD2C3D4) 75 STUB(FFD2C408) 76 STUB(FFD2C43C) 77 STUB(FFD2C444) 78 STUB(FFD2C48C) 79 STUB(FFD2C4B0) 80 STUB(FFD2C4FC) 81 STUB(FFD2C520) 82 STUB(FFD2C570) 83 STUB(FFD2C5AC) 52 84 STUB(FFD2C5B4) 53 85 STUB(FFD2C5B8) … … 58 90 STUB(FFD3450C) 59 91 STUB(FFD34704) 92 STUB(FFD3471C) 93 STUB(FFD34744) 94 STUB(FFD34760) 60 95 STUB(FFD34810) 61 96 STUB(FFD356C0) -
trunk/platform/a540/sub/100b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a540/sub/100b/stubs_auto.S
r352 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a550/sub/100c/Makefile
r323 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a550/sub/100c/stubs_auto.S
r336 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a560/sub/100a/Makefile
r311 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a560/sub/100a/stubs_auto.S
r311 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a570/sub/100e/Makefile
r311 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a570/sub/100e/stubs_auto.S
r311 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a570/sub/101a/Makefile
r311 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a570/sub/101a/stubs_auto.S
r311 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a610/sub/100e/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a610/sub/100e/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a610/sub/100f/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a610/sub/100f/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a620/sub/100f/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a620/sub/100f/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a630/sub/100c/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a630/sub/100c/stubs_auto.S
r300 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a640/sub/100b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a640/sub/100b/stubs_auto.S
r312 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a650/sub/100d/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep -E 'B.*[[:space:]]+sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'B.*[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 68 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a650/sub/100d/stubs_auto.S
r378 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 4 STUB(2)5 STUB(22)6 STUB(3)7 STUB(4)8 STUB(5)9 STUB(8)10 6 STUB(FFC001A4) 11 7 STUB(FFC0095C) -
trunk/platform/a700/sub/100b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a700/sub/100b/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a710/sub/100a/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a710/sub/100a/stubs_auto.S
r267 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/a720/sub/100c/Makefile
r376 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep -E 'B.*[[:space:]]+sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'B.*[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 68 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/a720/sub/100c/stubs_auto.S
r376 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/g7/sub/100e/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/g7/sub/100e/stubs_auto.S
r290 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/g7/sub/100g/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/g7/sub/100g/stubs_auto.S
r267 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/g7/sub/100i/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/g7/sub/100i/stubs_auto.S
r267 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/g7/sub/100j/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/g7/sub/100j/stubs_auto.S
r267 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus40_sd300/sub/100k/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus50_sd400/sub/101a/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus55_sd450/sub/100b/Makefile
r313 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus55_sd450/sub/100b/stubs_auto.S
r313 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus55_sd450/sub/100c/Makefile
r313 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus55_sd450/sub/100c/stubs_auto.S
r313 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus65_sd630/sub/100a/Makefile
r344 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h $(topdir)tools/finsig$(EXE) 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus65_sd630/sub/100a/stubs_auto.S
r343 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus700_sd500/sub/101a/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus700_sd500/sub/101a/stubs_auto.S
r246 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus700_sd500/sub/101b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus700_sd500/sub/101b/stubs_auto.S
r246 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus70_sd1000/sub/100c/Makefile
r339 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus70_sd1000/sub/100c/stubs_auto.S
r339 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus70_sd1000/sub/101b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus70_sd1000/sub/101b/stubs_auto.S
r277 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus70_sd1000/sub/102a/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus70_sd1000/sub/102a/stubs_auto.S
r276 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus800_sd700/sub/100b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus800_sd700/sub/100b/stubs_auto.S
r283 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus800_sd700/sub/101b/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus800_sd700/sub/101b/stubs_auto.S
r246 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus850_sd800/sub/100e/Makefile
r312 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus850_sd800/sub/100e/stubs_auto.S
r312 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus860_sd870/sub/100c/Makefile
r341 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep -E 'B.*[[:space:]]+sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'B.*[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 68 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus860_sd870/sub/100c/stubs_auto.S
r341 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixus950_sd850/sub/100c/Makefile
r322 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/ixus950_sd850/sub/100c/stubs_auto.S
r378 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/ixusW_sd430/sub/110a/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s2is/sub/100e/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s2is/sub/100e/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/s2is/sub/100f/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s2is/sub/100f/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/s2is/sub/100g/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s2is/sub/100g/stubs_auto.S
r243 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/s3is/sub/100a/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c mount.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o mount.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c mount.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s3is/sub/100a/stubs_auto.S
r299 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/s5is/sub/101b/Makefile
r372 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep -E 'B.*[[:space:]]+sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'B.*[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc -
trunk/platform/s5is/sub/101b/stubs_auto.S
r376 r379 1 1 /* THIS FILE IS GENERATED */ 2 /* DO NOT EDIT THIS FILE! */ 3 2 4 #include "stubs_asm.h" 3 5 -
trunk/platform/s80/sub/100g/Makefile
r301 r379 1 1 topdir=../../../../ 2 2 3 include $(topdir)makefile.inc 3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 4 5 5 CFLAGS+=-DLOW_LEVEL 6 7 all: libplatformsub.a 8 9 TARGET_PRIMARY = PRIMARY.BIN 10 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 11 12 libplatformsub.a: $(OBJS) 13 14 clean: 15 rm -f $(OBJS) libplatformsub.a stubs_entry.S.err stubs_not_found_names.err 16 17 distclean: clean 18 rm -f stubs_entry.S stubs_auto.S 19 rm -rf .dep 20 21 22 stubs_auto.S: boot.c capt_seq.c movie_rec.c 23 @echo $< \-\> $@ 24 ifeq ($(OSTYPE),Windows) 25 cat $^ | \ 26 grep 'BL\\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 27 sed 's/.*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 28 $(SORT) | uniq | \ 29 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 30 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 31 else 32 cat $^ | \ 33 grep 'BL\?[[:space:]]*sub_[0-9A-Fa-f]' | \ 34 sed 's/.*sub_\([0-9A-Fa-f]*\).*/\1/' | \ 35 $(SORT) | uniq | \ 36 awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n#include \"stubs_asm.h\"\n"} \ 37 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 38 endif 39 40 stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h 41 @echo \-\> $@ 42 rm -f stubs_entry.S.err 43 if [ -s $(TARGET_PRIMARY) ] ; then \ 44 $(topdir)tools/finsig $(TARGET_PRIMARY) $(ROMBASEADDR) > stubs_entry.S ; \ 45 else \ 46 echo CAUTION! \'stubs_entry.S\' is not uptated due to target firmware binary not found! ; \ 47 touch stubs_entry.S ; \ 48 fi ; \ 49 if [ "X`grep 'ERROR' stubs_entry.S`" != "X" ] ; then \ 50 grep "ERROR" stubs_entry.S | sed -r "s/\/\/ ERROR: ([^ ]+) is not found.*/\1/" | $(SORT) | uniq > stubs_nf.names ; \ 51 grep -E "NH?STUB" stubs_entry_2.S | sed -r "s/ *NH?STUB\( *([^ ,]+).*/\1/" | $(SORT) | uniq > stubs_mn.names ; \ 52 comm -23 stubs_nf.names stubs_mn.names > stubs_not_found_names.err ; \ 53 rm -f stubs_nf.names stubs_mn.names ; \ 54 if [ -s stubs_not_found_names.err ] ; then \ 55 echo ERROR! There are unresolved addresses in \'stubs_entry.S\' \($(PLATFORM)-$(PLATFORMSUB)\) for the following names: ; \ 56 cat stubs_not_found_names.err ; \ 57 echo Please, add them into \'stubs_entry_2.S\' manually! ; \ 58 mv stubs_entry.S stubs_entry.S.err ; \ 59 exit 1 ; \ 60 fi ; \ 61 rm -f stubs_not_found_names.err ; \ 62 fi 63 64 $(TARGET_PRIMARY): 65 touch $(TARGET_PRIMARY) 66 67 include $(topdir)bottom.inc 6 include $(topdir)/platform/makefile_sub.inc
Note: See TracChangeset
for help on using the changeset viewer.