summaryrefslogtreecommitdiff
path: root/post/board/lwmon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'post/board/lwmon/Makefile')
-rw-r--r--post/board/lwmon/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/board/lwmon/Makefile b/post/board/lwmon/Makefile
index 899b0dc..d2932be 100644
--- a/post/board/lwmon/Makefile
+++ b/post/board/lwmon/Makefile
@@ -20,10 +20,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
-
+include $(OBJTREE)/include/autoconf.mk
LIB = libpostlwmon.a
-COBJS = sysmon.o
+COBJS-$(CONFIG_HAS_POST) += sysmon.o
include $(TOPDIR)/post/rules.mk