Commit 03c6cd39 authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

post: Fix building with O=


Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent fd7531c1
......@@ -22,7 +22,7 @@
#
include $(TOPDIR)/config.mk
include $(TOPDIR)/include/autoconf.mk
include $(OBJTREE)/include/autoconf.mk
LIB = libpost.a
GPLIB-$(CONFIG_HAS_POST) += libgenpost.a
......@@ -38,8 +38,8 @@ SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d cpu/$(CPU) ]; then echo \
SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d board/$(BOARD) ]; then echo \
"board/$(BOARD)/libpost$(BOARD).a"; fi)
GPLIB := $(GPLIB-y)
SPLIB := $(SPLIB-y)
GPLIB := $(addprefix $(obj),$(GPLIB-y))
SPLIB := $(addprefix $(obj),$(SPLIB-y))
COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
......
......@@ -20,7 +20,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
include $(TOPDIR)/include/autoconf.mk
include $(OBJTREE)/include/autoconf.mk
LIB = libpostlwmon5.a
......
......@@ -20,7 +20,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
include $(TOPDIR)/include/autoconf.mk
include $(OBJTREE)/include/autoconf.mk
LIB = libpostppc4xx.a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment