2007-04-02 04:28:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package dtc (Version 17)
|
|
|
|
#
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: dtc
|
|
|
|
URL: http://dtc.ozlabs.org/
|
|
|
|
Version: 17
|
2007-06-18 18:27:08 +02:00
|
|
|
Release: 18
|
2007-04-02 04:28:12 +02:00
|
|
|
Buildrequires: bison flex
|
|
|
|
Summary: device-tree compiler
|
|
|
|
License: GNU General Public License (GPL)
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source: dtc-%{version}.tar.gz
|
|
|
|
|
|
|
|
%description
|
|
|
|
PowerPC kernels are moving towards requiring a small Open
|
|
|
|
Firmware-style device tree as the only means of passing information
|
|
|
|
from bootloaders/firmware to the kernel. This does not require a full
|
|
|
|
Open Firmware implementation. DTC (Device Tree Compiler) is a tool to
|
|
|
|
create a static device tree, which is adequate for most embedded
|
|
|
|
systems (since their topology will not vary across reboots). DTC is
|
|
|
|
available via a git tree: git://ozlabs.org/srv/projects/dtc/dtc.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Gibson <dwg@au1.ibm.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
|
|
cp -aL dtc ftdump $RPM_BUILD_ROOT/usr/bin
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/*
|
|
|
|
|
|
|
|
%changelog
|
2007-06-18 18:27:08 +02:00
|
|
|
* Mon Jun 18 2007 - olh@suse.de
|
|
|
|
- update to current state
|
|
|
|
dtc: Fix recognition of whitespace characters
|
|
|
|
Implement the -R option and add a -S option.
|
|
|
|
Add -o <output file> to the usage message.
|
|
|
|
Fix reserve map output for asm format.
|
|
|
|
Assemble the blob in memory before writing it out.
|
|
|
|
Fix the -S to modify the totalsize properly.
|
|
|
|
dtc: parse NOP in dtb input
|
2007-04-02 04:28:12 +02:00
|
|
|
* Thu Mar 29 2007 - olh@suse.de
|
|
|
|
- add flex and bison to buildrequires
|
|
|
|
fix endian bug in ftdump, add C style includes
|
|
|
|
* Fri Mar 23 2007 - olh@suse.de
|
|
|
|
- initial package to build PS3 kernel
|