Changeset 10256


Ignore:
Timestamp:
09/01/08 16:36:45 (5 years ago)
Author:
eko
Message:

possible to use CONFIG_COMPRESSEDJS=y to save space in micro

Location:
src/router/kromo/dd-wrt
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/kromo/dd-wrt/Makefile

    r10033 r10256  
    1515        rm -f $(INSTALLDIR)/www/images/favicon.ico 
    1616        rm -f $(INSTALLDIR)/www/images/logo.png 
     17ifneq ($(CONFIG_COMPRESSEDJS),y) 
    1718        cp common_micro.js $(INSTALLDIR)/www/common.js 
    18 #       cp common.compressed.js $(INSTALLDIR)/www/common.js 
    1919        rm -f $(INSTALLDIR)/www/common_micro.js 
    20 #       rm -f $(INSTALLDIR)/www/common.compressed.js 
     20else 
     21        cp common_micro.compressed.js $(INSTALLDIR)/www/common.js 
     22        rm -f $(INSTALLDIR)/www/common_micro.compressed.js 
     23endif 
    2124        rm -f $(INSTALLDIR)/www/Log_incoming.asp 
    2225        rm -f $(INSTALLDIR)/www/Log_outgoing.asp 
     
    2528        rm -f $(INSTALLDIR)/www/images/favicon.ico 
    2629        rm -f $(INSTALLDIR)/www/images/logo.png 
     30ifneq ($(CONFIG_COMPRESSEDJS),y) 
    2731        cp common_micro.js $(INSTALLDIR)/www/common.js 
    28 #       cp common.compressed.js $(INSTALLDIR)/www/common.js 
    2932        rm -f $(INSTALLDIR)/www/common_micro.js 
    30 #       rm -f $(INSTALLDIR)/www/common.compressed.js 
     33else 
     34        cp common_micro.compressed.js $(INSTALLDIR)/www/common.js 
     35        rm -f $(INSTALLDIR)/www/common_micro.compressed.js 
     36endif 
    3137        rm -f $(INSTALLDIR)/www/Log_incoming.asp 
    3238        rm -f $(INSTALLDIR)/www/Log_outgoing.asp 
Note: See TracChangeset for help on using the changeset viewer.