<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/yousong/include/package-defaults.mk, branch master</title>
<subtitle>Yousong Zhou staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/yousong/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/'/>
<updated>2016-10-15T09:36:51Z</updated>
<entry>
<title>build: copy contents of 'src' folder to build dirs (if present)</title>
<updated>2016-10-15T09:36:51Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2016-10-05T14:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7'/>
<id>urn:sha1:7c8c3226dc8ecd2b77d1d1e8215e0fbb52819cd7</id>
<content type='text'>
The normal Prepare step for a build is unpack, apply patches.
But for certain packages, patches contain whole files, which
would be nice to have separately and copied over as a last step
in the Prepare phase.

We need it for some other packages + patches, but I think
the 'hostapd' package can be used as a test for this.

As a quick note:
the reason the condition is being evaluated as
`[ ! -d ./src/ ] || $(CP) ./src/* $(HOST_BUILD_DIR)`
and not with
`[ -d ./src/ ] &amp;&amp; $(CP) ./src/* $(HOST_BUILD_DIR)`
is that the latter would translate in a build failure if the `src`
folder is not present (the exit code would be 1).
The first one, succeeds for both cases (if `src` present or not).

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: use CXXFLAGS if defined</title>
<updated>2016-10-13T15:04:43Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2016-10-02T23:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=559fb537d83bc30fc2dfa783292b9f86712966d6'/>
<id>urn:sha1:559fb537d83bc30fc2dfa783292b9f86712966d6</id>
<content type='text'>
Instead of using TARGET_CFLAGS and EXTRA_CFLAGS in cmake and scons
build use the TARGET_CXXFLAGS and EXTRA_CXXFLAGS like it is done for
normal make and configure. configure used TARGET_CXXFLAGS and
EXTRA_CFLAGS for the CXXFLAGS. The package-default.mk sets
"EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)" so using EXTRA_CXXFLAGS flags should
be save.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds</title>
<updated>2016-07-29T18:27:34Z</updated>
<author>
<name>Luke McKee</name>
</author>
<published>2016-07-23T19:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=eadf5fb7f8313d78fa503665e96457d080e6e3f9'/>
<id>urn:sha1:eadf5fb7f8313d78fa503665e96457d080e6e3f9</id>
<content type='text'>
Some packages need out of source tree building with cmake, for example
when building kernel modules.
See an example here:
https://sourceforge.net/p/accel-ppp/code/ci/master/tree/README

Signed-off-by: Luke McKee &lt;hojuruku@gmail.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt; [cleanup, rework]
</content>
</entry>
<entry>
<title>include: remove now unused PACKAGE_SUBDIR variable</title>
<updated>2016-04-13T13:37:34Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-04-13T13:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=be575fdc9d7c1c62937877f8564638eb7f4f5166'/>
<id>urn:sha1:be575fdc9d7c1c62937877f8564638eb7f4f5166</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>include: group kmod ipk files into a "kernel" subdirectory</title>
<updated>2016-01-24T15:36:05Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-01-24T15:36:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=0333da8943275324d366d562b70f90febbe97e7d'/>
<id>urn:sha1:0333da8943275324d366d562b70f90febbe97e7d</id>
<content type='text'>
This is useful to just use the kmods from an official build while supplying
base packages from a custom feed or the other way around; for just overriding
the kmods with a local repo while using official repos for the rest.

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;

SVN-Revision: 48475
</content>
</entry>
<entry>
<title>gcc/musl: rework SSP-support</title>
<updated>2015-06-22T10:31:07Z</updated>
<author>
<name>Steven Barth</name>
</author>
<published>2015-06-22T10:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=1877bc9d8f2be143fbe530347a945850d0ecd234'/>
<id>urn:sha1:1877bc9d8f2be143fbe530347a945850d0ecd234</id>
<content type='text'>
Make musl provide libssp_nonshared.a and make GCC link it unconditionally
if musl is used. This should be a no-op if SSP is disabled and seems to be
the only reliable way of dealing with SSP over all packages due to the mess
that is linkerflags handling in packages.

Signed-off-by: Steven Barth &lt;steven@midlink.org&gt;

SVN-Revision: 46108
</content>
</entry>
<entry>
<title>package-defaults: remove libssp for musl (redundant)</title>
<updated>2015-06-20T17:37:22Z</updated>
<author>
<name>Steven Barth</name>
</author>
<published>2015-06-20T17:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=565a2940ff8dc745eafc3a881f7adbc1c377a211'/>
<id>urn:sha1:565a2940ff8dc745eafc3a881f7adbc1c377a211</id>
<content type='text'>
Signed-off-by: Steven Barth &lt;steven@midlink.org&gt;

SVN-Revision: 46072
</content>
</entry>
<entry>
<title>include: remove trailing whitespaces</title>
<updated>2015-03-29T07:29:18Z</updated>
<author>
<name>Luka Perkov</name>
</author>
<published>2015-03-29T07:29:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=7002f6326e9dcd4cb3272763ba9b9debd9f3a60d'/>
<id>urn:sha1:7002f6326e9dcd4cb3272763ba9b9debd9f3a60d</id>
<content type='text'>
Signed-off-by: Luka Perkov &lt;luka@openwrt.org&gt;

SVN-Revision: 45127
</content>
</entry>
<entry>
<title>package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS</title>
<updated>2015-03-21T21:48:18Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2015-03-21T21:48:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=4f44df6fd8f2c404fd5b1534257a7a8c85eb96f5'/>
<id>urn:sha1:4f44df6fd8f2c404fd5b1534257a7a8c85eb96f5</id>
<content type='text'>
set DISABLE_NLS only if CONFIG_BUILD_NLS NOT set.
like DISABLE_IPV6 which depends on CONFIG_IPV6

Signed-off-by: Christian Schoenebeck &lt;christian.schoenebeck@gmail.com&gt;

SVN-Revision: 44930
</content>
</entry>
<entry>
<title>build: add optional dependency on libssp to all non-kernel packages</title>
<updated>2015-03-20T16:50:50Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-03-20T16:50:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/yousong/commit/?id=7dad0f6fe4c4eafae35ac7c3a368b1034cccc2d1'/>
<id>urn:sha1:7dad0f6fe4c4eafae35ac7c3a368b1034cccc2d1</id>
<content type='text'>
When enabling SSP_SUPPORT, a lot of packages fail during compile phase
with the following error:

Package X is missing dependencies for the following libraries:
libssp.so.0

This can be solved by adding an optional dependency on libssp to all
those packages, but as there are quite a few packages both in OpenWrt
core and in the package repository, it might make sense to add this
optional dependency to all non-kernel packages, instead of polluting
lots of package dependency lines with it.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;

SVN-Revision: 44911
</content>
</entry>
</feed>
