Index: /src/router/httpd/Makefile
===================================================================
--- /src/router/httpd/Makefile	(revision 11235)
+++ /src/router/httpd/Makefile	(revision 11236)
@@ -254,6 +254,8 @@
 CFLAGS += -DHAVE_GATEWORX
 ifneq ($(CONFIG_WRT300NV2),y)
+ifneq ($(CONFIG_WG302),y)
 CFLAGS += -DHAVE_CPUTEMP
 CFLAGS += -DHAVE_VOLT
+endif
 endif
 endif
