Changeset 9151


Ignore:
Timestamp:
2007-10-05T23:52:05+02:00 (10 years ago)
Author:
nbd
Message:

add option for cleaning all ipkg info before the image build

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.in

    r9102 r9151  
    8181 
    8282config BROKEN 
    83         bool "Show broken platforms / packages" if DEVEL 
     83        bool 
     84        prompt "Show broken platforms / packages" if DEVEL 
    8485        default n 
    8586 
    8687config LOCALMIRROR 
    87         string "Local mirror for source packages" if DEVEL 
     88        string 
     89        prompt "Local mirror for source packages" if DEVEL 
    8890 
    8991menuconfig BUILDOPTS 
    90         bool "Build Options" if DEVEL 
     92        bool 
     93        prompt "Build Options" if DEVEL 
     94 
     95config CLEAN_IPKG 
     96        bool 
     97        prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS 
     98        default n 
    9199 
    92100config AUTOREBUILD 
  • trunk/package/Makefile

    r8921 r9151  
    3636        @-find $(TARGET_DIR) -name .svn  | $(XARGS) rm -rf 
    3737        @-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f 
     38        $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/ipkg) 
    3839 
    3940$(curdir)/index: FORCE 
Note: See TracChangeset for help on using the changeset viewer.