1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 16:43:09 +02:00

make a few commands silent and fix defconfig logic

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6886 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-04-07 13:30:57 +00:00
parent afe35c9296
commit df77a68e70

View File

@ -50,20 +50,18 @@ target/%/Makefile: ;
tmp/.packageinfo: FORCE tmp/.packageinfo: FORCE
tmp/.targetinfo: FORCE tmp/.targetinfo: FORCE
tmp/.%info: tmp/.%info:
mkdir -p tmp/info @mkdir -p tmp/info
$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="$*info" SCAN_DIR="$(patsubst target,target/linux,$*)" SCAN_NAME="$*" SCAN_DEPS="$^" SCAN_EXTRA="" @$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="$*info" SCAN_DIR="$(patsubst target,target/linux,$*)" SCAN_NAME="$*" SCAN_DEPS="$^" SCAN_EXTRA=""
tmpinfo-clean: FORCE tmpinfo-clean: FORCE
-rm -rf tmp/.*info -rm -rf tmp/.*info
tmp/.config-%.in: tmp/.%info tmp/.config-%.in: tmp/.%info
./scripts/metadata.pl $*_config < $< > $@ || rm -f $@ @./scripts/metadata.pl $*_config < $< > $@ || rm -f $@
.config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in .config: ./scripts/config/conf tmp/.config-target.in tmp/.config-package.in
if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \ if [ \! -f .config ]; then \
cp $(HOME)/.openwrt/defconfig .config; \ [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
$(NO_TRACE_MAKE) menuconfig; \ $(NO_TRACE_MAKE) menuconfig; \
fi fi
$< -D .config Config.in &> /dev/null $< -D .config Config.in &> /dev/null