Chameleon

Chameleon Commit Details

Date:2010-07-25 03:43:54 (13 years 9 months ago)
Author:Evan Lojewski
Commit:235
Parents: 234
Message:Makefile now sorts array
Changes:
M/branches/zef/i386/boot2/Makefile

File differences

branches/zef/i386/boot2/Makefile
102102
103103
104104
105
105
106106
107
108
107
108
109
109110
110111
111112
@echo "unsigned int*length;" >> $(SYMROOT)/art.h
@echo "} embededpng_t;" >> $(SYMROOT)/art.h
@echo "" >> $(SYMROOT)/art.h
@echo "embededpng_t embeddedImages[] = {" >> $(SYMROOT)/art.h
@echo "embededpng_t embededImages[] = {" >> $(SYMROOT)/art.h
@cd $(SYMROOT)/embed && find . -name '*.png' -exec sh -c \
"echo {.name = \`echo '\"'\`\`echo '{}' | cut -f 2 -d \"/\" | cut -f 1 -d \".\" \`\`echo '\"'\`, \
.pngdata = \`echo {} | tr / _ | tr . _ \`, .length = \&\`echo {} | tr / _ | tr . _ \`_len}," \; >> $(SYMROOT)/art.h
"echo {.name = \`echo '\"'\`\`echo '{}' | sort | cut -f 2 -d \"/\" | cut -f 1 -d \".\" \`\`echo '\"'\`, \
.pngdata = \`echo {} | sort | tr / _ | tr . _ \`, .length = \&\`echo {} | sort | tr / _ | tr . _ \`_len}," \; >> $(SYMROOT)/art.h
@echo "};" >> $(SYMROOT)/art.h
@echo "#endif /* !__BOOT2_ART_H */" >> $(SYMROOT)/art.h ;\

Archive Download the corresponding diff file

Revision: 235