summaryrefslogtreecommitdiff
path: root/scripts/test_make_clean
diff options
context:
space:
mode:
authorDenys Vlasenko2010-06-06 04:14:28 +0200
committerDenys Vlasenko2010-06-06 04:14:28 +0200
commit2f32bf8be63f70125049402ba43101d8c6083d46 (patch)
tree8d01d287b58308bbb0bc6748c27357fae0a7aa12 /scripts/test_make_clean
parentf0f94700610eba964441ce4a112134e03c76eb89 (diff)
downloadbusybox-2f32bf8be63f70125049402ba43101d8c6083d46.zip
busybox-2f32bf8be63f70125049402ba43101d8c6083d46.tar.gz
remove defconfig. Now "make defconfig" simply uses defaults from Config.in
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/test_make_clean')
-rwxr-xr-xscripts/test_make_clean14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/test_make_clean b/scripts/test_make_clean
new file mode 100755
index 0000000..fa3a543
--- /dev/null
+++ b/scripts/test_make_clean
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+b=`basename $PWD`
+test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; }
+
+cd ..
+cp -pPR "$b" busybox.$$.test_tree
+cd busybox.$$.test_tree
+make defconfig
+make $MAKEOPTS
+make clean
+cd ..
+diff -urp "$b" busybox.$$.test_tree >busybox.$$.test_tree.diff
+cat busybox.$$.test_tree.diff