<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/lynxis/Makefile, branch reboot</title>
<subtitle>lynxis staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/lynxis/atom?h=reboot</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/lynxis/atom?h=reboot'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/'/>
<updated>2016-01-28T22:42:18Z</updated>
<entry>
<title>Makefile: set timezone to UTC</title>
<updated>2016-01-28T22:42:18Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-01-28T22:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=868d5f9ae92cf6c3a2b6d64af161645e6cef3db3'/>
<id>urn:sha1:868d5f9ae92cf6c3a2b6d64af161645e6cef3db3</id>
<content type='text'>
This is necessary for reproducible image builds.

Signed-off-by: bryan newbold &lt;bnewbold@robocracy.org&gt;

SVN-Revision: 48538
</content>
</entry>
<entry>
<title>Makefile: move the cleaning of staging_dir/target* from dirclean to clean</title>
<updated>2015-06-14T17:47:16Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-06-14T17:47:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=b20a2b48901195a79d86eaecb386d45fe5d63c39'/>
<id>urn:sha1:b20a2b48901195a79d86eaecb386d45fe5d63c39</id>
<content type='text'>
Currently "make clean" only clears the build_dir/target*, but leaves
staging_dir/target* intact. "make clean" should also clean the
staging_dir/target* directories, as in the current situation some old
packages or libraries may be linked into the firmware from staging_dir
despite a "make clean".

The patch reorganises clean / dirclean functionality so that
* "make clean" also clears the staging_dir/target* in addition to
build_dir/target*.
* "make dirclean" clears toolchain and host(=tools) directories from both
build_dir and staging_dir

signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;

SVN-Revision: 45973
</content>
</entry>
<entry>
<title>Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean</title>
<updated>2015-05-23T15:28:42Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2015-05-23T15:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=9a96820d3d7fc96a79277f0d7f78851bd6092ef1'/>
<id>urn:sha1:9a96820d3d7fc96a79277f0d7f78851bd6092ef1</id>
<content type='text'>
Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean

Openwrt's top level Makefile uses STAGING_DIR_TOOLCHAIN in the make dirclean
statement.
https://dev.openwrt.org/browser/trunk/Makefile#L55
    rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN)
$(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN)

As far as I can determine, no such variable has been defined. I made a search
in Openwrt source repository and the one line in Makefile's dirclean command
is the only place where that variable exists.

The item has been introduced to Makefile by r8362, but even at that time
neither Makefile nor rules.mk defined such a variable. Most likely the goal
has been to set both staging_dir/toolchain and build_dir/toolchain to be
cleaned, but one of the variables has been erroneous. The correct variable
for build_dir/toolchain has been then added by r13494.

References:
https://dev.openwrt.org/changeset/8362/
https://dev.openwrt.org/browser/trunk/Makefile?rev=8362
https://dev.openwrt.org/browser/trunk/rules.mk?rev=8362
https://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
https://dev.openwrt.org/changeset/13494

In current code,
    TOOLCHAIN_DIR = $(TOPDIR)/staging_dir/$(TOOLCHAIN_DIR_NAME)
    BUILD_DIR_TOOLCHAIN = $(TOPDIR)/build_dir/$(TOOLCHAIN_DIR_NAME)
so the item STAGING_DIR_TOOLCHAIN in the rm command is unnecessary.

signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;

SVN-Revision: 45736
</content>
</entry>
<entry>
<title>build: don't call prereq for any package/symlinks rules</title>
<updated>2015-05-10T11:17:29Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-05-10T11:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=58683312140cb2cd0e0c4aa3163bfaae0d211aff'/>
<id>urn:sha1:58683312140cb2cd0e0c4aa3163bfaae0d211aff</id>
<content type='text'>
Most of the time, we want to make sure OpenWrt has been configured and
setup before start running make. However, in case of package/symlinks,
forcing prereq as a dependency creates multiple issues:
*when executed on a clean workspace, it will prompt for user input
 and open a menuconfig window before executing the feeds command
*the only way around that is to provide a .config. However, the "prereq"
 target would then run a "make defconfig", which will remove all the
 packages in the .config but from external feeds, as feeds have not been
 installed yet.

The only way to currently work around this, is to generate a fake config
by running "make defconfig", then "make package/symlinks", copy the real
config (which at this point disregards the previously generated config),
and run make defconfig again. Something like this:

make defconfig
make package/symlinks
cp real.config .config
make defconfig

This change is removing the need for the first defconfig, making the
process more logical for OpenWrt users using the package/symlinks target.

Signed-off-by: Mathieu Olivari &lt;mathieu@qca.qualcomm.com&gt;

SVN-Revision: 45657
</content>
</entry>
<entry>
<title>build: clean up sitefiles, make them per-arch</title>
<updated>2015-03-28T13:38:34Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-03-28T13:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=74ca7e9af3b7b0cae395c07c4a50fb903709619b'/>
<id>urn:sha1:74ca7e9af3b7b0cae395c07c4a50fb903709619b</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 45090
</content>
</entry>
<entry>
<title>Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"</title>
<updated>2014-10-22T10:47:26Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-10-22T10:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=4fde9deed11f56b65f389c7e83c70b7b5878222e'/>
<id>urn:sha1:4fde9deed11f56b65f389c7e83c70b7b5878222e</id>
<content type='text'>
This seems to cause issues on some build hosts, and it is not that
important.

SVN-Revision: 43025
</content>
</entry>
<entry>
<title>build: use ONESHELL to speed up scanning and the toplevel makefile</title>
<updated>2014-10-22T08:57:40Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-10-22T08:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=c4979908344bc5d49e6b8ebef003b3c32d6bd284'/>
<id>urn:sha1:c4979908344bc5d49e6b8ebef003b3c32d6bd284</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 43021
</content>
</entry>
<entry>
<title>build: remove duplicate variable definitions</title>
<updated>2014-03-21T15:54:11Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-03-21T15:54:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=bb959c0f3e5d5593fe21ace7a64c48c96aad5f16'/>
<id>urn:sha1:bb959c0f3e5d5593fe21ace7a64c48c96aad5f16</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 39981
</content>
</entry>
<entry>
<title>build: it is no longer necessary to call make target/linux/clean as part of make clean</title>
<updated>2012-12-02T15:26:28Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-12-02T15:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=c233a088f05e263671b2bac26e384db348760516'/>
<id>urn:sha1:c233a088f05e263671b2bac26e384db348760516</id>
<content type='text'>
SVN-Revision: 34451
</content>
</entry>
<entry>
<title>Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344)</title>
<updated>2012-10-21T02:00:11Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2012-10-21T02:00:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=43f34a93e6d61d206126b47c92d999b286f5a7c8'/>
<id>urn:sha1:43f34a93e6d61d206126b47c92d999b286f5a7c8</id>
<content type='text'>
SVN-Revision: 33884
</content>
</entry>
</feed>
