]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
don't require .config
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 17:50:22 +0000 (19:50 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Sep 2008 17:50:22 +0000 (19:50 +0200)
Makefile
README [new file with mode: 0644]

index 1c1c9f71599b18ccc9c333368274cceeb4381e71..45340e73e3c6dd20ddd0ff5671c3ce6f92058d91 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ Q=@
 NQ=echo
 endif
 
-all: verify_config $(ALL)
+all: $(ALL)
 
 %.o: %.c iw.h
        @$(NQ) ' CC  ' $@
@@ -34,10 +34,3 @@ check:
 
 clean:
        $(Q)rm -f iw *.o *~
-
-verify_config:
-       $(Q)if [ ! -r .config ]; then \
-               echo 'Building iw requires a configuration file'; \
-               echo '(.config). cp defconfig .config and edit.'; \
-               exit 1; \
-       fi
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..ee50c16
--- /dev/null
+++ b/README
@@ -0,0 +1,6 @@
+
+This is 'iw', a tool to use nl80211.
+
+
+To build iw, just enter 'make'. If that fails, copy the file
+defconfig to .config and adjust the settings in it.