diff options
author | Russell Robinson Jr <rrobinson@phytec.com> | 2012-10-29 09:57:37 -0700 |
---|---|---|
committer | Russell Robinson Jr <rrobinson@phytec.com> | 2012-12-19 15:50:16 -0800 |
commit | 48d6f4f368ba61bb80949ace561eb7d16a9158fb (patch) | |
tree | 3c40c626cfc0a1f8a77379bac7c8d99008b7f353 /board/phytec/pcm052/Makefile | |
parent | da57bddb827ff0da2eb8da33b7081ff56d9dea2d (diff) |
Base port for phyCORE-Vybrid2011.12-pcm052-ts1
Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
Diffstat (limited to 'board/phytec/pcm052/Makefile')
-rw-r--r-- | board/phytec/pcm052/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/board/phytec/pcm052/Makefile b/board/phytec/pcm052/Makefile new file mode 100644 index 00000000000..c8ec3c13993 --- /dev/null +++ b/board/phytec/pcm052/Makefile @@ -0,0 +1,41 @@ +# +# +# Copyright 2012 Freescale Semiconductor, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# 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)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := $(BOARD).o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) $(SOBJS) + $(call cmd_link_o_target, $(OBJS) $(SOBJS)) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### |