Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:a_faerber:uclinux
uClibc
cross-armv7ml-uClibc-headers.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cross-armv7ml-uClibc-headers.spec of Package uClibc
# # spec file for package cross-armv7ml-uClibc-headers # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define headers_only 1 Url: http://www.uclibc.org/ Name: cross-armv7ml-uClibc-headers Version: 0.9.33.2 Release: 0 Summary: A full-featured C library optimized for size License: LGPL-2.1+ Group: System/Libraries BuildRequires: cross-armv7ml-uclibc-binutils %if %{headers_only} BuildRequires: cross-armv7ml-uclibc-gcc5-bootstrap %else BuildRequires: cross-armv7ml-kernel-headers BuildRequires: cross-armv7ml-uclibc-gcc5-mini %endif Requires: cross-armv7ml-kernel-headers %if %{headers_only} Conflicts: cross-armv7ml-uClibc %else Conflicts: cross-armv7ml-uClibc-headers %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildArch: noarch Source0: uClibc-0.9.33.2.tar.bz2 Source1: config.armv7ml Patch1: arm-fixclone.patch Patch100: uClibc_flat_shared.diff %description A full-featured C library optimized for size. uClibc (pronounced yew-see-lib-see) is a C library for developing embedded Linux systems. It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work perfectly with uClibc. Porting applications from glibc to uClibc typically involves just recompiling the source code. uClibc even supports shared libraries and threading. Authors: -------- Erik Andersen <andersen@codepoet.org> %prep %setup -q -n uClibc-%{version} %patch1 -p1 %patch100 -p1 cp %{SOURCE1} .config %define sysroot /usr/armv7ml-suse-uclinuxgnueabi/sys-root %define cross_prefix armv7ml-suse-uclinuxgnueabi- %define cross_vars CROSS_COMPILE=%{cross_prefix} CC=%{cross_prefix}gcc-5 DEVEL_PREFIX=%{sysroot}/usr/ KERNEL_HEADERS=%{sysroot}/usr/include MULTILIB_DIR=lib/thumb %build %if %{headers_only} make V=2 headers %cross_vars %else make V=2 %cross_vars %endif %clean #rm -rf $RPM_BUILD_ROOT %install export NO_BRP_STRIP_DEBUG=true export NO_DEBUGINFO_STRIP_DEBUG=true %define __debug_install_post %{nil} : >debugfiles.list : >debugsources.list %if %{headers_only} make V=2 install_headers %cross_vars DESTDIR=%{buildroot} %else make V=2 install %cross_vars DESTDIR=%{buildroot} %endif %files %defattr(-,root,root) %dir %{sysroot} %dir %{sysroot}/usr %{sysroot}/usr/include/ %if ! %{headers_only} %{sysroot}/usr/lib/ %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor