<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/Makefile, branch v17.01.3</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git.openwrt.org/openwrt/staging/xback/atom?h=v17.01.3</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/xback/atom?h=v17.01.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/'/>
<updated>2017-01-08T17:50:00Z</updated>
<entry>
<title>Makefile: ensure that BIN_DIR exists for diffconfig</title>
<updated>2017-01-08T17:50:00Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2017-01-06T17:51:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=c1b12aa838587952b269a75ad278e8805aa9a65f'/>
<id>urn:sha1:c1b12aa838587952b269a75ad278e8805aa9a65f</id>
<content type='text'>
Ensure that BIN_DIR exists when the diffconfig target needs it.
Otherwise 'make diffconfig' fails after 'make clean'

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>build: add diffconfig target</title>
<updated>2017-01-04T10:03:53Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-01-04T08:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=2a72a916ab24b7c844886444d741fcb5d6191596'/>
<id>urn:sha1:2a72a916ab24b7c844886444d741fcb5d6191596</id>
<content type='text'>
Add a "diffconfig" build target which stores the output of
"scripts/diffconfig.sh" as "config.seed" in the image output directory and
invoke that target by default.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: implement make check and make package/X/check</title>
<updated>2016-12-17T09:36:25Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-12-14T14:36:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=7a315b0b5d6aa91695853a8647383876e4b49a7a'/>
<id>urn:sha1:7a315b0b5d6aa91695853a8647383876e4b49a7a</id>
<content type='text'>
This is intended to be used for a wide array of package sanity checks.

The first check that is implemented is for the hash of downloaded files.
It checks:
  - Missing hash
  - Use of SHA256 instead of MD5
  - dl/&lt;file&gt; hash not matching hash in makefile
  - deprecated MD5SUM variable

The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt
is updated as well

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: move merged package directory from bin/ to staging_dir</title>
<updated>2016-08-03T10:22:18Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-08-03T10:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=f2de33b2c94b633194b802570d87502988c22c6e'/>
<id>urn:sha1:f2de33b2c94b633194b802570d87502988c22c6e</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: add checksum target</title>
<updated>2016-08-01T16:11:21Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-07-26T13:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=27854a0a84cd2db9539b662a1f1fc95ef7409962'/>
<id>urn:sha1:27854a0a84cd2db9539b662a1f1fc95ef7409962</id>
<content type='text'>
Add a new "checksum" make target which generates an sha256sums file over the
image files produced in bin/targets/ and automatically call it during make
world after the package index generation.

The advantage of this new target is that it is guaranteed to run after the
images, the SDK and the ImageBuilder archives have been generated to ensure
that they all end up in the checksum file. Fixes FS#51.

Uses sed to postprocess the OpenSSL digest output into an sha256sum command
compatible format.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: fix make clean, delete package directories for selected arch</title>
<updated>2016-05-11T08:02:36Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-05-11T08:02:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=30d955a7a5570114d830c714e562be5427d76937'/>
<id>urn:sha1:30d955a7a5570114d830c714e562be5427d76937</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>branding: add LEDE branding</title>
<updated>2016-03-24T21:40:13Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-03-24T21:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=fa69553900516944fc43cf7b377105ea1f6d3db0'/>
<id>urn:sha1:fa69553900516944fc43cf7b377105ea1f6d3db0</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
</entry>
<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/xback/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/xback/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/xback/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>
</feed>
