Skip to content
Snippets Groups Projects
Commit 21a246d5 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

add option for cleaning all ipkg info before the image build

SVN-Revision: 9151
parent e2e8d55d
No related branches found
No related tags found
No related merge requests found
...@@ -80,14 +80,22 @@ menuconfig DEVEL ...@@ -80,14 +80,22 @@ menuconfig DEVEL
select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN select TOOLCHAINOPTS if !NATIVE_TOOLCHAIN
config BROKEN config BROKEN
bool "Show broken platforms / packages" if DEVEL bool
prompt "Show broken platforms / packages" if DEVEL
default n default n
config LOCALMIRROR config LOCALMIRROR
string "Local mirror for source packages" if DEVEL string
prompt "Local mirror for source packages" if DEVEL
menuconfig BUILDOPTS 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 config AUTOREBUILD
bool bool
......
...@@ -35,6 +35,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build ...@@ -35,6 +35,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf @-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf @-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f @-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f
$(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/ipkg)
$(curdir)/index: FORCE $(curdir)/index: FORCE
@(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages) @(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment