Changeset 1507


Ignore:
Timestamp:
12/26/11 10:59:22 (17 months ago)
Author:
philmoz
Message:

Update to makefile_sub.inc. Fixes case where creation of stubs_auto.S fails if using 'make' rather than 'gmake'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/makefile_sub.inc

    r1366 r1507  
    2424stubs_auto.S: $(STUBS_AUTO_DEPS) 
    2525        @echo $^ \-\> $@ 
    26 ifeq ($(OSTYPE),Windows) 
    27         cat $^ | \ 
    28             grep -E 'B[[:alpha:]]*[[:space:]]+sub_[0-9A-Fa-f]' | \ 
    29             sed 's/.*B[[:alpha:]]*[[:space:]][[:space:]]*sub_\\([0-9A-Fa-f]*\\).*/\\1/' | \ 
    30             $(SORT) | uniq | \ 
    31             awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n/* DO NOT EDIT THIS FILE! */\n\n#include \"stubs_asm.h\"\n"} \ 
    32                 {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 
    33 else     
    3426        cat $^ | \ 
    3527            grep -E 'B[[:alpha:]]*[[:space:]]+sub_[0-9A-Fa-f]' | \ 
     
    3830            awk 'BEGIN {print "/* THIS FILE IS GENERATED */\n/* DO NOT EDIT THIS FILE! */\n\n#include \"stubs_asm.h\"\n"} \ 
    3931                {printf("STUB(%s)\n",$$1)}' > stubs_auto.S 
    40 endif 
    4132 
    4233stubs_entry.S: $(TARGET_PRIMARY) $(topdir)tools/signatures_$(PLATFORMOS).h $(topdir)tools/finsig_$(PLATFORMOS)$(EXE) stubs_entry_2.S stubs_min.S 
Note: See TracChangeset for help on using the changeset viewer.