Revert "Added make file for cache warming installation."
I think there's a missing dependency in buildroot:
ImportError: No module named dns.resolver
make[5]: *** [cache_warming.test] Error 1
This reverts commit f41fcfd0160c38fb63153a2e74cd13cf18f43af2.
Change-Id: I7c0e3e0402842659ffcb605557350ec6bcb46178
diff --git a/Makefile b/Makefile
index 4b56110..5de9eaa 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,6 @@
BUILD_LOGUPLOAD?= # default off: needs libgtest
BUILD_IBEACON?= # default off: needs bluetooth.h
BUILD_WAVEGUIDE?=y
-BUILD_CACHE_WARMING?=y
BUILD_DVBUTILS?=y
BUILD_SYSMGR?=y
BUILD_STATUTILS?=y
@@ -17,7 +16,7 @@
BUILD_JSONPOLL?=n
BUILD_PRESTERASTATS?=n
export BUILD_HNVRAM BUILD_SSDP BUILD_DNSSD BUILD_LOGUPLOAD \
- BUILD_IBEACON BUILD_WAVEGUIDE BUILD_CACHE_WARMING BUILD_DVBUTILS BUILD_SYSMGR \
+ BUILD_IBEACON BUILD_WAVEGUIDE BUILD_DVBUTILS BUILD_SYSMGR \
BUILD_STATUTILS BUILD_CRYPTDEV BUILD_SIGNING BUILD_JSONPOLL \
BUILD_PRESTERASTATS
@@ -37,10 +36,6 @@
DIRS+=taxonomy
endif
-ifeq ($(BUILD_CACHE_WARMING),y)
-DIRS+=cache_warming
-endif
-
ifeq ($(BUILD_HNVRAM),y)
DIRS+=hnvram
endif
diff --git a/cache_warming/Makefile b/cache_warming/Makefile
deleted file mode 100644
index 7edc6e5..0000000
--- a/cache_warming/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-INSTALL?=install
-PREFIX=$(DESTDIR)/bin
-LIBDIR=$(PREFIX)/cache_warming
-PYTHON?=python
-GPYLINT=$(shell \
- if which gpylint >/dev/null; then \
- echo gpylint; \
- else \
- echo 'echo "(gpylint-missing)" >&2'; \
- fi \
-)
-
-all:
-
-%.test: %_test.py
- $(PYTHON) $<
-
-runtests: $(patsubst %_test.py,%.test,$(wildcard *_test.py))
-
-lint: $(filter-out options.py,$(wildcard *.py))
- $(GPYLINT) $^
-
-test_only: all
- PYTHONPATH=..:$(PYTHONPATH) ./wvtest/wvtestrun $(MAKE) runtests
-
-test: all
- $(MAKE) test_only lint
-
-install:
- mkdir -p $(LIBDIR)
- $(INSTALL) -m 0755 -D cache_warming.py $(LIBDIR)/
-
-install-libs:
- @echo "No libs to install."
-
-clean:
- rm -rf *~ .*~ *.pyc