diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-07 13:30:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-07 13:30:57 +0000 |
commit | b6a46ba883b107fd2bdfcc33a0de85a5db98cef0 (patch) | |
tree | 1a1ed40f26277a5d6cab9bae5b288711e3adf12c /Makefile | |
parent | 29be2524d9811bf2a086473867a3202f8ced915c (diff) | |
download | upstream-b6a46ba883b107fd2bdfcc33a0de85a5db98cef0.tar.gz upstream-b6a46ba883b107fd2bdfcc33a0de85a5db98cef0.tar.bz2 upstream-b6a46ba883b107fd2bdfcc33a0de85a5db98cef0.zip |
make a few commands silent and fix defconfig logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6886 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -50,20 +50,18 @@ target/%/Makefile: ; tmp/.packageinfo: FORCE tmp/.targetinfo: FORCE 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="" + @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="" tmpinfo-clean: FORCE -rm -rf 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 - if [ \! -f .config -a -e $(HOME)/.openwrt/defconfig ]; then \ - cp $(HOME)/.openwrt/defconfig .config; \ + if [ \! -f .config ]; then \ + [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \ $(NO_TRACE_MAKE) menuconfig; \ fi $< -D .config Config.in &> /dev/null |