Merge branch 'master' of git://git.denx.de/u-boot-i2c
[oweals/u-boot.git] / post / board / netta / Makefile
index 60c7790ace9d1f9cdb0aac8153d1917e99b52868..2d34dd8d03d14cc5102176ffa672345ab7205236 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
+include $(OBJTREE)/include/autoconf.mk
 
+LIB    = libpostnetta.o
 
-LIB    = libpostnetta.a
-
-COBJS  = codec.o dsp.o
+COBJS-$(CONFIG_HAS_POST)       += codec.o dsp.o
 
 include $(TOPDIR)/post/rules.mk