diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-04-12 22:28:06 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-04-13 09:13:04 +0200 |
commit | 0de71d507157c4bd4fddcd3a419140d2b986eed2 (patch) | |
tree | bf54b9e5f5791bf9a777aa8af310f93c7e26428e /lib/libfdt/Makefile | |
parent | 78acc472d9719316f22e002a009a998d9ceec29d (diff) | |
download | bootable_bootloader_goldelico_gta04-0de71d507157c4bd4fddcd3a419140d2b986eed2.zip bootable_bootloader_goldelico_gta04-0de71d507157c4bd4fddcd3a419140d2b986eed2.tar.gz bootable_bootloader_goldelico_gta04-0de71d507157c4bd4fddcd3a419140d2b986eed2.tar.bz2 |
Move libfdt/ into lib/
Move the libfdt directory into the common lib/ directory to clean up the
top-level directory.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'lib/libfdt/Makefile')
-rw-r--r-- | lib/libfdt/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile new file mode 100644 index 0000000..d6e2830 --- /dev/null +++ b/lib/libfdt/Makefile @@ -0,0 +1,50 @@ +# +# (C) Copyright 2000-2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# 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)libfdt.a + +SOBJS = + +COBJS-libfdt += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o + +COBJS-$(CONFIG_OF_LIBFDT) += $(COBJS-libfdt) +COBJS-$(CONFIG_FIT) += $(COBJS-libfdt) + + +COBJS := $(sort $(COBJS-y)) +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### |