-config-clean: FORCE
- $(NO_TRACE_MAKE) -C scripts/config clean
-
-defconfig: scripts/config/conf tmp/.config-target.in tmp/.config-package.in FORCE
- touch .config
- $< -D .config Config.in
-
-oldconfig: scripts/config/conf tmp/.config-target.in tmp/.config-package.in FORCE
- $< -o Config.in
-
-menuconfig: scripts/config/mconf tmp/.config-target.in tmp/.config-package.in FORCE
- if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \
- cp $(HOME)/.openwrt/defconfig .config; \
- fi
- $< Config.in
-
-kernel_menuconfig: .config FORCE
- -$(MAKE) target/linux-prepare
- $(NO_TRACE_MAKE) -C target/linux menuconfig
-
-
-package/% target/%: tmp/.packageinfo
-toolchain/% package/% target/%: tmp/.targetinfo
-package/% target/% tools/% toolchain/%: FORCE
- $(MAKE) -C $(patsubst %/$*,%,$@) $*
-
-
-tmp/.prereq-build: include/prereq-build.mk
- mkdir -p tmp
- rm -f tmp/.host.mk
- $(NO_TRACE_MAKE) -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \
- echo "Prerequisite check failed. Use FORCE=1 to override."; \
- false; \
- }
- touch $@