touch_noise_filter: Remove default value for BASE_VER

BASE_VER must match the recent version of libchrome being used.
Having it set to a dummy default version that doesn't match the revision
number of libchrome doesn't help anyone much.

Removed the default value and added an error message instructing
the user to set BASE_VER to correct revision number if not already
set (which is the case in normal builds, where BASE_VER comes from
libchrome.eclass).

BUG=None
TEST=emerge-link touch_noise_filter

Change-Id: I8f1f780dc9751cf096156b8e7414c50a17b5a5ea
Reviewed-on: https://chromium-review.googlesource.com/264104
Trybot-Ready: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/Makefile b/Makefile
index 0bacc41..95d21f7 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,11 @@
 	-I..
 
 PKG_CONFIG ?= pkg-config
-BASE_VER ?= 307740
+
+ifeq ($(strip $(BASE_VER)),)
+$(error BASE_VER is not set. Make sure you set it to the correct revision number of libchrome)
+endif
+
 PC_DEPS += libchrome-$(BASE_VER)
 PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags $(PC_DEPS))
 PC_LIBS := $(shell $(PKG_CONFIG) --libs $(PC_DEPS))