select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
config BROKEN
- bool "Show broken platforms / packages" if DEVEL
+ bool
+ prompt "Show broken platforms / packages" if DEVEL
default n
config LOCALMIRROR
- string "Local mirror for source packages" if DEVEL
+ string
+ prompt "Local mirror for source packages" if DEVEL
menuconfig BUILDOPTS
- bool "Build Options" if DEVEL
+ bool
+ prompt "Build Options" if DEVEL
+
+config CLEAN_IPKG
+ bool
+ prompt "Clean all ipkg files before building the rootfs" if BUILDOPTS
+ default n
config AUTOREBUILD
bool
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f
+ $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/ipkg)
$(curdir)/index: FORCE
@(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages)