diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-06-22 18:01:38 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-11 00:30:17 +0200 |
commit | 644cb38108b8dc22e0ef3cf5f404fe310d1995f8 (patch) | |
tree | f82d051fa4a61a0bdb7710199d5b41df327f2d17 /api_examples/Makefile | |
parent | 890d242facc4079ed21e979ced2e8c6d6974f6d3 (diff) | |
download | u-boot-imx-644cb38108b8dc22e0ef3cf5f404fe310d1995f8.zip u-boot-imx-644cb38108b8dc22e0ef3cf5f404fe310d1995f8.tar.gz u-boot-imx-644cb38108b8dc22e0ef3cf5f404fe310d1995f8.tar.bz2 |
api_examples/Makefile: Split up variable declarations
This cleans up the Makefile a bit and simplifies future changes
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
Diffstat (limited to 'api_examples/Makefile')
-rw-r--r-- | api_examples/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/api_examples/Makefile b/api_examples/Makefile index 4c01437..be0b462 100644 --- a/api_examples/Makefile +++ b/api_examples/Makefile @@ -45,13 +45,20 @@ COBJS := $(COBJS-y) SOBJS := $(SOBJS-y) LIB = $(obj)libglue.a -LIBCOBJS-$(CONFIG_API) += glue.o crc32.o ctype.o string.o vsprintf.o \ - libgenwrap.o +LIBCOBJS-$(CONFIG_API) += glue.o +LIBCOBJS-$(CONFIG_API) += crc32.o +LIBCOBJS-$(CONFIG_API) += ctype.o +LIBCOBJS-$(CONFIG_API) += string.o +LIBCOBJS-$(CONFIG_API) += vsprintf.o +LIBCOBJS-$(CONFIG_API) += libgenwrap.o LIBCOBJS := $(LIBCOBJS-y) -LIBOBJS = $(addprefix $(obj),$(SOBJS) $(LIBCOBJS)) +LIBOBJS += $(addprefix $(obj),$(SOBJS)) +LIBOBJS += $(addprefix $(obj),$(LIBCOBJS)) -SRCS := $(COBJS:.o=.c) $(LIBCOBJS:.o=.c) $(SOBJS:.o=.S) +SRCS += $(COBJS:.o=.c) +SRCS += $(LIBCOBJS:.o=.c) +SRCS += $(SOBJS:.o=.S) OBJS := $(addprefix $(obj),$(COBJS)) ELF := $(addprefix $(obj),$(ELF)) BIN := $(addprefix $(obj),$(BIN)) |