<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/rmilecki/include/image.mk, branch master</title>
<subtitle>Rafal Mileckis staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/'/>
<updated>2021-03-05T15:45:33Z</updated>
<entry>
<title>build: use config-1 instead of config@1 as default</title>
<updated>2021-03-05T15:45:33Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2021-03-04T11:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=9f714398e060c6338fbfad44cdbfa8c940dbb84b'/>
<id>urn:sha1:9f714398e060c6338fbfad44cdbfa8c940dbb84b</id>
<content type='text'>
U-boot will reject all nodes with @ since commit:
https://gitlab.denx.de/u-boot/u-boot/-/commit/79af75f7776fc20b0d7eb6afe1e27c00fdb4b9b4

This will cause the OpenWrt images to fail booting,
to rectify use the config-1 as default.

Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
</content>
</entry>
<entry>
<title>build: use numeric uid/gid on cpio calls</title>
<updated>2021-03-03T15:09:59Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-03-03T15:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=785ab2b62c8d9366023095641f2ba237e2b0ed8e'/>
<id>urn:sha1:785ab2b62c8d9366023095641f2ba237e2b0ed8e</id>
<content type='text'>
There are systems that don't have the 'root' group, so don't rely on host
specific user/group names

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>include: use cpio from staging dir</title>
<updated>2021-02-28T00:09:09Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-02-27T18:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=dc5328e7e9d97ea779fa06621ce6da8deaac56c9'/>
<id>urn:sha1:dc5328e7e9d97ea779fa06621ce6da8deaac56c9</id>
<content type='text'>
As we built our own CPIO now, use this version instead of whatever the
host may or may not provide.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_*</title>
<updated>2021-02-25T17:11:06Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2021-02-22T14:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=ef2cb8572b48f1e1964b4d1d014d16cb721b5175'/>
<id>urn:sha1:ef2cb8572b48f1e1964b4d1d014d16cb721b5175</id>
<content type='text'>
We so far had two variables IMG_PREFIX and IMAGE_PREFIX with
different content. Since these names are obviously quite
confusing, this patch renames the latter to DEVICE_IMG_PREFIX,
as it's a device-dependent variable, while IMG_PREFIX is only
(sub)target-dependent.

For consistency, also rename IMAGE_NAME to DEVICE_IMG_NAME, as
that's a device-dependent variable as well.

Cc: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>build: avoid generating JSON info on missing image</title>
<updated>2021-02-24T21:28:45Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-02-24T20:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=512229ce4967814a09ce202855e6b632d2e97a3c'/>
<id>urn:sha1:512229ce4967814a09ce202855e6b632d2e97a3c</id>
<content type='text'>
Previously, build would fail for targets containing devices with not
initramfs image (such as mpc85xx-p1010). Only generate the JSON image
info for the initramfs image when we have one to avoid breaking the
builds.

Fixes commit d3140d052964 ("build/json: generate json file for initramfs")

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>build/json: generate json file for initramfs</title>
<updated>2021-02-21T19:56:05Z</updated>
<author>
<name>Moritz Warning</name>
</author>
<published>2021-01-08T23:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=d3140d05296461deddaaa8ca2ce4a4a97a320eff'/>
<id>urn:sha1:d3140d05296461deddaaa8ca2ce4a4a97a320eff</id>
<content type='text'>
The initramfs images are missing from the profiles.json files.

Signed-off-by: Moritz Warning &lt;moritzwarning@web.de&gt;
[fix code by exporting device variables]
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>mediatek: more clean solution for out-of-tree DTS</title>
<updated>2021-02-19T01:25:49Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-02-19T01:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=e3b88490885ef228456d1be39e6e84679cfe4cfb'/>
<id>urn:sha1:e3b88490885ef228456d1be39e6e84679cfe4cfb</id>
<content type='text'>
Use approach suggested by Adrian Schmutzler instead of introducing
another device variable.
Also revert the unnecessary white-space changes accidentally introduced
by the previous commit.

Fixed: c067b1e79b ("mediatek: move out-of-tree DTS files to dedicated dts folder")
Suggested-by: Adrian Schmutzler &lt;mail@adrianschmutzler.de&gt;
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>mediatek: move out-of-tree DTS files to dedicated dts folder</title>
<updated>2021-02-19T00:05:53Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-02-18T19:17:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=c067b1e79badf94d7a01fbb8737a8134879afd1a'/>
<id>urn:sha1:c067b1e79badf94d7a01fbb8737a8134879afd1a</id>
<content type='text'>
Use dedicated dts folder like on ramips to store device tree source
files for boards not already supported in vanilla Linux.
Doing so instead of having them in files-* has several advantages:
 * we don't need to duplicate them for several kernel versions
 * changes to a device tree don't trigger a complete kernel rebuild
 * the files are more obvious to find

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>treewide: provide global default for SUPPORTED_DEVICES</title>
<updated>2021-01-23T11:45:21Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2021-01-19T19:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/rmilecki/commit/?id=f52081bcf938efcd910832f3c3713ab9f3ca0738'/>
<id>urn:sha1:f52081bcf938efcd910832f3c3713ab9f3ca0738</id>
<content type='text'>
The majority of our targets provide a default value for the variable
SUPPORTED_DEVICES, which is used in images to check against the
compatible on a running device:

  SUPPORTED_DEVICES := $(subst _,$(comma),$(1))

At the moment, this is implemented in the Device/Default block of
the individual targets or even subtargets. However, since we
standardized device names and compatible in the recent past, almost
all targets are following the same scheme now:

  device/image name:  vendor_model
  compatible:         vendor,model

The equal redundant definitions are a symptom of this process.

Consequently, this patch moves the definition to image.mk making it
a global default. For the few targets not using the scheme above,
SUPPORTED_DEVICES will be defined to a different value in
Device/Default anyway, overwriting the default. In other words:
This change is supposed to be cosmetic.

This can be used as a global measure to get the current compatible
with: $(firstword $(SUPPORTED_DEVICES))
(Though this is not precisely an achievement of this commit.)

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
</feed>
