<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ansuel/tools/include, branch master</title>
<subtitle>Staging tree of Christian Marangi</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/ansuel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/'/>
<updated>2020-03-14T13:20:06Z</updated>
<entry>
<title>build: fix kernel 5.4 on macos</title>
<updated>2020-03-14T13:20:06Z</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
</author>
<published>2020-03-13T17:56:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=0a06fcf608ddf1f5db389decf266283392344784'/>
<id>urn:sha1:0a06fcf608ddf1f5db389decf266283392344784</id>
<content type='text'>
As part of the kernel build process there are utilities built to run on
the host system that expect linux kernel headers to be available.
Unfortunately macos/darwin doesn't have these headers.

vdso2c requires types.h so provide a minimal stub to satisfy it.

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
</content>
</entry>
<entry>
<title>tools: Update endian definitions for Mac OSX</title>
<updated>2018-12-19T15:08:30Z</updated>
<author>
<name>Kevin Darbyshire-Bryant</name>
</author>
<published>2018-12-18T11:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=99ddff0c7f836e05156a0a084b2895ef2607811d'/>
<id>urn:sha1:99ddff0c7f836e05156a0a084b2895ef2607811d</id>
<content type='text'>
  - it appears (at least from OS X verison 10.10, Yosemite) that the
    big and little endian defintions have changed.

    the older

       #include &lt;sys/_endian.h&gt;
       #include &lt;architecture/byte_order.h&gt;

    reference yielded the following warning:

         #define __bswap_16(x)      NXSwapShort(x)
                                    ^
       /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here

    For the new OS X editions, it seems that we need to refer to:

      #include &lt;netinet/in.h&gt;
      #include &lt;libkern/OSByteOrder.h&gt;

    and respectively use 'OSSwapInt16', 'OSSwapInt32', &amp; 'OSSwapInt64', in
    place of 'NXSwapShort', 'NXSwapLong' &amp; 'NXSwapLongLong'.

Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
</content>
</entry>
<entry>
<title>tools: host/include/getline.h: Remove</title>
<updated>2017-04-26T08:29:39Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2017-04-12T20:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=74f9c9c1594f205f975723f60448077090a8f014'/>
<id>urn:sha1:74f9c9c1594f205f975723f60448077090a8f014</id>
<content type='text'>
Seems to be useful only for old and unsupported operating systems. Removed and adjusted the mtd-utils Makefile.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: host/include/getline.h: fix FreeBSD 8.0+ support</title>
<updated>2015-05-08T12:09:26Z</updated>
<author>
<name>Imre Kaloz</name>
</author>
<published>2015-05-08T12:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=c1a8ff39fc9dc66db7cde605baa2326744ca8e8c'/>
<id>urn:sha1:c1a8ff39fc9dc66db7cde605baa2326744ca8e8c</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
Signed-off-by: Imre Kaloz &lt;kaloz@openwrt.org&gt;

SVN-Revision: 45628
</content>
</entry>
<entry>
<title>tools: include endian.h from byteswap.h to ensure that bswap_* is available</title>
<updated>2013-07-06T14:49:08Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2013-07-06T14:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=0c10f3911dfe532dc26e56d45460ed885281f695'/>
<id>urn:sha1:0c10f3911dfe532dc26e56d45460ed885281f695</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 37183
</content>
</entry>
<entry>
<title>build: BSD compile fixes</title>
<updated>2013-03-07T17:32:29Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2013-03-07T17:32:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=1f77bfff9608f97996bffdb28dabec4e787631f6'/>
<id>urn:sha1:1f77bfff9608f97996bffdb28dabec4e787631f6</id>
<content type='text'>
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb &lt;mail@waldemar-brodkorb.de&gt;

SVN-Revision: 35900
</content>
</entry>
<entry>
<title>kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x</title>
<updated>2012-07-20T12:28:50Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-07-20T12:28:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=b1f318de533bd8bb8eba8a1d25752b2a4de83d07'/>
<id>urn:sha1:b1f318de533bd8bb8eba8a1d25752b2a4de83d07</id>
<content type='text'>
SVN-Revision: 32783
</content>
</entry>
<entry>
<title>host/include/getline.h - Mac OS X 10.7 (Lion) fix</title>
<updated>2011-08-05T16:52:46Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2011-08-05T16:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=bf64b1ccb636ef6155b4635900cc5c8e4021dc76'/>
<id>urn:sha1:bf64b1ccb636ef6155b4635900cc5c8e4021dc76</id>
<content type='text'>
Apple has finally updated their version of Libc, and it now includes getline(). \o/

The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The one
caveat is, the includes (at least stdio.h) are needed before the #ifdef so that
__DARWIN_C_LEVEL could be properly defined (it is not a compiler built-in define
like __linux__ or __APPLE__).

This one fixes the host/include/getline.h. The next patch will mend the mkimage
package.

Signed-off-by: Joe Roback &lt;openwrt-devel at roback.cc&gt;

SVN-Revision: 27916
</content>
</entry>
<entry>
<title>add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems</title>
<updated>2011-07-02T06:49:56Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2011-07-02T06:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=fc0863785a0200de0d0135abf5ce16a803e5b2d6'/>
<id>urn:sha1:fc0863785a0200de0d0135abf5ce16a803e5b2d6</id>
<content type='text'>
SVN-Revision: 27346
</content>
</entry>
<entry>
<title>more cygwin related build fixes</title>
<updated>2009-04-14T14:54:34Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2009-04-14T14:54:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=b8e09787fac3a13854e53e3a7a6707d39563ae68'/>
<id>urn:sha1:b8e09787fac3a13854e53e3a7a6707d39563ae68</id>
<content type='text'>
SVN-Revision: 15227
</content>
</entry>
</feed>
