]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/eukrea/cpuat91/Makefile
cpuat91: fix board support
[karo-tx-uboot.git] / board / eukrea / cpuat91 / Makefile
index 15da3d87ab66acb4f814607bd6adc557072a384a..1d62b13099115b41fc6d4ca9a627f6f27f41d7cc 100644 (file)
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
-COBJS  := cpuat91.o
+COBJS  := $(BOARD).o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
@@ -38,7 +38,7 @@ clean:
        rm -f $(SOBJS) $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       rm -f $(LIB) core *.bak $(obj).depend
 
 #########################################################################