Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder arm_xscale Build #57

Results:

Build successful

SourceStamp:

Repositoryhttps://git.openwrt.org/openwrt/openwrt.git
Branchmaster
Revision6d819fae5343dc4666762f359bb57a6fbe60a968
Changes18 changes

BuildSlave:

fsf-dock-06

Reason:

The SingleBranchScheduler scheduler named 'all' triggered this build

Steps and Logfiles:

  1. sharedwd Setting up shared work directory ( 0 secs )
    1. stdio
  2. nproc property 'nproc' set ( 0 secs )
    1. stdio
    2. property changes
  3. download downloading to cleanup.sh ( 0 secs )
    1. - no logs -
  4. cleanold Cleaning previous builds ( 1 mins, 11 secs )
    1. stdio
  5. cleanup Cleaning work area ( 0 secs )
    1. stdio
  6. mksdkdir Preparing SDK directory ( 0 secs )
    1. stdio
  7. downloadsdk Downloading SDK archive ( 28 secs )
    1. stdio
  8. unpacksdk Unpacking SDK archive ( 17 secs )
    1. stdio
  9. updatesdk Updating SDK ( 5 secs )
    1. stdio
  10. cleancmdlinks Sanitizing host command symlinks ( 0 secs )
    1. stdio
  11. writeversionmk downloading to getversion.mk ( 0 secs )
    1. - no logs -
  12. getversion property 'release_version' set ( 0 secs )
    1. stdio
    2. property changes
  13. dlkeybuildpub downloading to key-build.pub ( 0 secs )
    1. - no logs -
  14. dlkeybuild downloading to key-build ( 0 secs )
    1. - no logs -
  15. dlkeybuilducert downloading to key-build.ucert ( 0 secs )
    1. - no logs -
  16. mkdldir Preparing download directory ( 0 secs )
    1. stdio
  17. mkconf Preparing SDK configuration ( 4 secs )
    1. stdio
  18. download_1 downloading to ccache.sh ( 0 secs )
    1. - no logs -
  19. prepccache Preparing ccache ( 0 secs )
    1. stdio
  20. updatefeeds Updating feeds ( 2 mins, 35 secs )
    1. stdio
  21. installfeeds Installing feeds ( 10 secs )
    1. stdio
  22. logclear Clearing failure logs ( 0 secs )
    1. stdio
  23. compile Building packages ( 4 hrs, 53 mins, 34 secs )
    1. stdio
  24. mkfeedsconf Generating pinned feeds.conf ( 0 secs )
    1. stdio
  25. signprepare Ran ( 0 secs )
    1. stdio
  26. signpack Packing files to sign ( 0 secs )
    1. stdio
  27. upload uploading sign.tar.gz ( 7 secs )
    1. - no logs -
  28. signfiles Ran ( 2 secs )
    1. stdio
  29. download_2 downloading to sign.tar.gz ( 7 secs )
    1. - no logs -
  30. signunpack Unpacking signed files ( 0 secs )
    1. stdio
  31. uploadprepare Preparing package directory ( 2 secs )
    1. stdio
  32. packageupload Uploading package files ( 1 hrs, 27 mins, 40 secs )
    1. stdio
  33. logprepare Preparing log directory ( 2 secs )
    1. stdio
  34. logfind Finding failure logs ( 0 secs )
    1. stdio
  35. logcollect Collecting failure logs ( 0 secs )
    1. stdio
  36. logupload Uploading failure logs ( 5 secs )
    1. stdio
  37. sourcelist Finding source archives to upload ( 0 secs )
    1. stdio
  38. sourceupload Uploading source archives ( 2 secs )
    1. stdio
  39. df Reporting disk usage ( 0 secs )
    1. stdio

Build Properties:

NameValueSource
branch master Build
builddir /builder/arm_xscale slave
buildername arm_xscale Builder
buildnumber 57 Build
codebase Build
nproc 8 SetPropertyFromCommand Step
project Build
release_version SNAPSHOT SetPropertyFromCommand Step
repository https://git.openwrt.org/openwrt/openwrt.git Build
revision 6d819fae5343dc4666762f359bb57a6fbe60a968 Build
scheduler all Scheduler
shared_wd True BuildSlave
slavename fsf-dock-06 BuildSlave
workdir /builder/arm_xscale slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Adrian Schmutzler
  2. Hans Dedecker
  3. Hauke Mehrtens
  4. Jo-Philipp Wich
  5. Jonas Gorski
  6. Rafał Miłecki
  7. Roger Pueyo Centelles
  8. Sebastian Kemper
  9. Yousong Zhou

Timing:

StartWed Sep 11 06:34:26 2019
EndWed Sep 11 13:01:16 2019
Elapsed6 hrs, 26 mins, 50 secs

All Changes:

:

  1. Change #1298

    Category None
    Changed by Jonas Gorski <jonas.gorskiohnoyoudont@gmail.com>
    Changed at Sat 07 Sep 2019 12:45:32
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision f11d90a76b719106336b94d85b166b4ebf19dbb0

    Comments

    Revert "build: remove harmful -nopad option from mksquashfs"
    This reverts commit 1c0290c5cc6258c48b8ba46b4f9c85a21de4f875.
    
    Dropping the nopad can make the padding overflow into the next erase
    block on devices using a non-aligned rootfs start. This breaks the jffs2
    overlay partition with the following messages:
    
    [   30.343877] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
    [   30.376512] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
    [   30.385253] jffs2: empty_blocks 196, bad_blocks 0, c->nr_blocks 197
    
    Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

    Changed files

    • include/image.mk
  2. Change #1299

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Sat 07 Sep 2019 13:41:44
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 6640e1c3681b4b9e7f0d8a57351b068ec40d3efd

    Comments

    ramips: clean and improve MAC address setup in 02_network
    This patch removes unnecessary MAC address setup statements in
    ramips' 02_network by doing several optimizations:
    
    1. For the following devices, lan_mac was set up with
       mtd_get_mac_binary although the same address was set in DTS.
       The lan_mac statement is removed in 02_network, but
       wan_mac is kept:
       - mercury,mac1200r-v2
       - phicomm,k2g
       - skylab,skw92a
       - wiznet,wizfi630a
    
    2. For the following devices, wan_mac was set up with
       mtd_get_mac_binary although the same address was set in DTS.
       The wan_mac statement is removed in 02_network, no
       lan_mac is present:
       - buffalo,whr-g300n
       - glinet,gl-mt300n-v2
       - zyxel,keenetic-start
    
    3. For the following device, lan_mac and wan_mac were set up
       with mtd_get_mac_binary to the same address as set in DTS.
       Both statements are removed in 02_network:
       - buffalo,whr-600d
    
    4. For some devices, it was possible to move setup from 02_network
       to DTS by introducing previously missing mtd_mac_address:
       - buffalo,whr-1166d
       - buffalo,whr-300hp2
       - buffalo,wsr-600dhp
       - ohyeah,oy-0001
       - planex,vr500
    
    5. For one device, mtd_mac_address was just wrong and overwritten
       by 02_network. Put the correct value in DTS and remove redundant
       statement in 02_network:
       - asus,rt-ac57u
    
    6. For one device, MAC address defined in DTS is exchanged together
       with lan_mac/wan_mac setup in 02_network, so that cases in
       02_network can be merged:
       - phicomm,k2p
    
    For some devices, an empty case has to be used to prevent them
    from falling into the default case and have
    WAN address = eth0 address + 1 set to them.
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ramips/base-files/etc/board.d/02_network
    • target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts
    • target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts
    • target/linux/ramips/dts/mt7620a_ohyeah_oy-0001.dts
    • target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts
    • target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
    • target/linux/ramips/dts/mt7621_netgear_r6220.dtsi
    • target/linux/ramips/dts/mt7621_phicomm_k2p.dts
    • target/linux/ramips/dts/mt7621_planex_vr500.dts
  3. Change #1300

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Sat 07 Sep 2019 13:41:44
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision ad4eb2241b33b05b0942a3fa7ed2e53fb6e84386

    Comments

    ramips: remove duplicate case for MAC setup of freestation5
    ARC FreeStation5 is present twice in MAC address setup.
    
    From older commits/changes, it is not possible to reconstruct
    the correct choice only by reading the annotations.
    
    Thus, remove the second case and keep the first one, so behavior
    stays the same (as nobody seems to have complained about it).
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ramips/base-files/etc/board.d/02_network
  4. Change #1301

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Sat 07 Sep 2019 13:41:44
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision e35e4a996e26f17b69d200505ecea78af96a2704

    Comments

    ramips: fix duplicate network setup for dlink,dir-615-h1
    In 555ca422d1cb ("ramips: fix D-Link DIR-615 H1 switch port
    mapping"), port setup for dir-615-h1 was changed without removing
    the old one. This was working as the new one was triggered earlier
    than the old one.
    
    (In the meantine, changed sorting during ramips rename patches
    actually inversed that order.)
    
    Anyway, just remove the wrong case now.
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ramips/base-files/etc/board.d/02_network
  5. Change #1302

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Sat 07 Sep 2019 13:41:44
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision aaf90d88087d7d23b1b829bef5012cc0a0b5ed4c

    Comments

    ramips: initialize MAC addresses from flash where possible
    This patch changes wan MAC address setup from retrieving it by
    calculation to reading it from flash.
    
    Changes are limited to cases where on-device check was possible.
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
    [fix mac for newifi-d1; drop adslr,g7 because it's unlikely for
    vendor to specifically use 2.4g mac as wan_mac]
    Signed-off-by: Chuanhong Guo <gch981213@gmail.com>

    Changed files

    • target/linux/ramips/base-files/etc/board.d/02_network
  6. Change #1303

    Category None
    Changed by Adrian Schmutzler <freifunkohnoyoudont@adrianschmutzler.de>
    Changed at Sat 07 Sep 2019 13:41:44
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 869a0183b953db6dbbced296294f667ce2b2353c

    Comments

    ramips: fix MAC address setup for Newifi Y1 and Y1S
    So far, MAC address setup for those devices has been using local
    addresses although additional MAC addresses are available on flash.
    
    On device, we found the following situation:
    position   Y1     Y1S
    0x4        *:d4   *:e4
    0x8004     *:d6   *:e8
    0x28       *:d4   *:e4
    0x2e       *:d7   *:eb
    
    Since 0x4 and 0x28 yield the same address, the former was set for
    &ethernet in DTS. However, the typical location on this
    architecture is 0x28, so this patch changes that.
    
    For further setup in 02_network, the local bit for lan_mac is
    removed, so the address from &ethernet is used at all. For wan_mac,
    instead of calculating an address with local bit set, this patch
    exploits the previously unused address in 0x2e.
    
    Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

    Changed files

    • target/linux/ramips/base-files/etc/board.d/02_network
    • target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dts
    • target/linux/ramips/dts/mt7620a_lenovo_newifi-y1s.dts
  7. Change #1304

    Category None
    Changed by Hans Dedecker <dedeckehohnoyoudont@gmail.com>
    Changed at Sat 07 Sep 2019 19:23:43
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 7db655991443a98f84e4c39e733232d41d2d6137

    Comments

    firewal: update to latest git HEAD
    4d0c703 firewall3: Fix some format string problems
    8c404ef iptables.c: lock the xtables.lock
    c1d3a4d utils: implement fw3_lock_path() & fw3_unlock_path()
    
    Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

    Changed files

    • package/network/config/firewall/Makefile
  8. Change #1305

    Category None
    Changed by Rafał Miłecki <rafalohnoyoudont@milecki.pl>
    Changed at Sun 08 Sep 2019 07:10:30
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 1c510fe2980cd787602786e82f44602549d607d4

    Comments

    base-files: validate firmware for compatibility with backup
    This allows platform code to check if firmware image can be used with
    preserving a backup. It may be used e.g. when installing vendor
    firmwares that won't restore appended backup archive.
    
    Suggested-by: Luis Araneda <luaraneda@gmail.com>
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

    Changed files

    • package/base-files/files/usr/libexec/validate_firmware_image
  9. Change #1315

    Category None
    Changed by Hauke Mehrtens <haukeohnoyoudont@hauke-m.de>
    Changed at Sun 08 Sep 2019 16:39:13
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 359bff605244c2cf2bff75bce0f0b16b496a6a77

    Comments

    firewall: update to latest git HEAD
    487bd0d utils: Fix string format message
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

    Changed files

    • package/network/config/firewall/Makefile
  10. Change #1316

    Category None
    Changed by Jo-Philipp Wich <joohnoyoudont@mein.io>
    Changed at Sun 08 Sep 2019 16:48:15
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 2f9f8769e334d2e8d0bac4edadbcf6bcdd229519

    Comments

    rpcd: update to latest Git HEAD
    69eeb1b file: refactor message parsing and permission checking
    f65527a iwinfo: expose all rate info fields in assoclist reply
    7fec636 sys: fix symbol redeclaration
    27c24c7 rpcd: sys: actually move timespec declaration
    345363b file: add remove operation
    604db20 rpcd: Switch to nanosleep
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>

    Changed files

    • package/system/rpcd/Makefile
  11. Change #1317

    Category None
    Changed by Hans Dedecker <dedeckehohnoyoudont@gmail.com>
    Changed at Sun 08 Sep 2019 20:18:17
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision ba305d12deba1fec484017a6ff30b73ce25c94e9

    Comments

    glibc: update to latest 2.27 commit (BZ #24228, BZ #24744, BZ #24699)
    5f0d2e0491 [AArch64] Add ifunc support for Ares
    e6b7252040 aarch64,falkor: Use vector registers for memcpy
    c74b884f70 aarch64,falkor: Ignore prefetcher tagging for smaller copies
    0fc5934ebd aarch64/strncmp: Use lsr instead of mov+lsr
    e0a0bd3acc aarch64/strncmp: Unbreak builds with old binutils
    638caf3000 aarch64: Improve strncmp for mutually misaligned inputs
    d5f45a29ff aarch64/strcmp: fix misaligned loop jump target
    7f690fafad aarch64: Improve strcmp unaligned performance
    40df047b3b aarch64: Fix branch target to loop16
    062139f233 aarch64: Optimized memcmp for medium to large sizes
    f3e2add213 aarch64: Use the L() macro for labels in memcmp
    22bd3ab40e posix: Fix large mmap64 offset for mips64n32 (BZ#24699)
    bdd16894aa aarch64: handle STO_AARCH64_VARIANT_PCS
    0b48caab9a aarch64: add STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS
    949da7f2fd io: Remove copy_file_range emulation [BZ #24744]
    f056ac8363 libio: do not attempt to free wide buffers of legacy streams [BZ #24228]
    5f90e009b1 NEWS: add entries for bugs 22964, 24180, and 24531
    
    Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

    Changed files

    • toolchain/glibc/common.mk
  12. Change #1324

    Category None
    Changed by Sebastian Kemper <sebastian_mlohnoyoudont@gmx.net>
    Changed at Mon 09 Sep 2019 07:39:35
    Repository https://git.openwrt.org/feed/packages.git
    Branch master
    Revision b6212c8769d0ce92307f685bafb3620c5394d8ba

    Comments

    glib2: don't use libelf during host build
    Since commit d3f86c9cc3e465fbca51aaadbb274856831ba56c tools/libelf
    installs a pkgconfig file, which in turn is picked up during the glib2
    host build. On the build bots the same occurs, although it so happens
    that (sometimes?) libelf.h is not found and the host build fails. This
    may be a timing issue specific to the build bots, as the header is in
    fact installed by tools/libelf and I can't reproduce this here on my own
    computer.
    
    In any case, libelf (if detected) is only used by gresource. gresource
    can be used without it. gresource is not used by OpenWrt's build system
    (also not in openwrt/packages). So adding "--disable-libelf" to the host
    configure args is not detrimental in any way and works around the issue
    described above.
    
    Resolves #9927
    
    Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>

    Changed files

    • libs/glib2/Makefile
  13. Change #1325

    Category None
    Changed by Rafał Miłecki <rafalohnoyoudont@milecki.pl>
    Changed at Mon 09 Sep 2019 07:38:55
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 681acdcc54d2e59135bb706c38bed942f74ccf74

    Comments

    mac80211: brcmfmac: backport more kernel 5.4 changes
    Patch getting RAM info got upstreamed. A debugging fs entry for testing
    reset feature was added.
    
    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

    Changed files

    • package/kernel/mac80211/patches/brcm/106-v5.4-brcmfmac-remove-set-but-not-used-variable-dtim_perio.patch
    • package/kernel/mac80211/patches/brcm/107-v5.4-brcmfmac-remove-redundant-assignment-to-pointer-hash.patch
    • package/kernel/mac80211/patches/brcm/108-v5.4-brcmfmac-replace-strncpy-by-strscpy.patch
    • package/kernel/mac80211/patches/brcm/109-v5.4-brcmfmac-get-chip-s-default-RAM-info-during-PCIe-set.patch
    • package/kernel/mac80211/patches/brcm/110-v5.4-0001-brcmfmac-add-stub-version-of-brcmf_debugfs_get_devdi.patch
    • package/kernel/mac80211/patches/brcm/110-v5.4-0002-brcmfmac-add-reset-debugfs-entry-for-testing-reset.patch
    • package/kernel/mac80211/patches/brcm/111-v5.4-brcmfmac-use-ph-to-print-small-buffer.patch
    • package/kernel/mac80211/patches/brcm/860-brcmfmac-register-wiphy-s-during-module_init.patch
  14. Change #1340

    Category None
    Changed by Jo-Philipp Wich <joohnoyoudont@mein.io>
    Changed at Tue 10 Sep 2019 13:25:12
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision d6a405280f0156a2dad7d9cfa96695d53ed87dab

    Comments

    rpcd: update to latest Git HEAD
    e2a7bc4 iwinfo: add WPA3 support
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>

    Changed files

    • package/system/rpcd/Makefile
  15. Change #1377

    Category None
    Changed by Roger Pueyo Centelles <roger.pueyoohnoyoudont@guifi.net>
    Changed at Tue 10 Sep 2019 14:43:37
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision e667d6f46b5fa9ade5da1d76c8cc1aab1df1dcb6

    Comments

    ramips: enable external amplifier for D-Link DIR-810L
    The 2.4 GHz radio had very poor signal reception (-89 dBm for an AP
    sitting 5 m away). By enabling the external amplifier, received signal
    has improved to -50 dBm for the same AP.
    
    Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

    Changed files

    • target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
  16. Change #1384

    Category None
    Changed by Hauke Mehrtens <haukeohnoyoudont@hauke-m.de>
    Changed at Tue 10 Sep 2019 19:51:26
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 9f34bf51d60a237696b1d4cc9b5f4835b95e7ea2

    Comments

    hostapd: Fix security problem
    This fixes:
    CVE-2019-11555 "EAP-pwd message reassembly issue with unexpected fragment"
    https://w1.fi/security/2019-5/eap-pwd-message-reassembly-issue-with-unexpected-fragment.txt
    
    This shouöld not affect OpenWrt in the default settings as we do not use
    EAP-pwd.
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

    Changed files

    • package/network/services/hostapd/Makefile
    • package/network/services/hostapd/patches/065-0001-EAP-pwd-server-Fix-reassembly-buffer-handling.patch
    • package/network/services/hostapd/patches/065-0003-EAP-pwd-peer-Fix-reassembly-buffer-handling.patch
  17. Change #1385

    Category None
    Changed by Hauke Mehrtens <haukeohnoyoudont@hauke-m.de>
    Changed at Tue 10 Sep 2019 19:51:41
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 7bed9bf10fc8d05df34c7efc66e8b4ade37a1a0c

    Comments

    hostapd: SAE/EAP-pwd side-channel attack update
    Fixes this security problem:
    * SAE/EAP-pwd side-channel attack update
    https://w1.fi/security/2019-6/sae-eap-pwd-side-channel-attack-update.txt
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

    Changed files

    • package/network/services/hostapd/Makefile
    • package/network/services/hostapd/patches/066-0000-EAP-pwd-Disallow-ECC-groups-with-a-prime-under-256-b.patch
    • package/network/services/hostapd/patches/066-0000-SAE-Reject-unsuitable-groups-based-on-REVmd-changes.patch
    • package/network/services/hostapd/patches/066-0001-SAE-Use-const_time_memcmp-for-pwd_value-prime-compar.patch
    • package/network/services/hostapd/patches/066-0002-EAP-pwd-Use-const_time_memcmp-for-pwd_value-prime-co.patch
    • package/network/services/hostapd/patches/066-0003-OpenSSL-Use-BN_bn2binpad-or-BN_bn2bin_padded-if-avai.patch
    • package/network/services/hostapd/patches/066-0004-SAE-Run-through-prf-result-processing-even-if-it-pri.patch
    • package/network/services/hostapd/patches/066-0005-EAP-pwd-Run-through-prf-result-processing-even-if-it.patch
    • package/network/services/hostapd/patches/066-0006-dragonfly-Disable-use-of-groups-using-Brainpool-curv.patch
  18. Change #1388

    Category None
    Changed by Yousong Zhou <yszhou4techohnoyoudont@gmail.com>
    Changed at Wed 11 Sep 2019 01:31:53
    Repository https://git.openwrt.org/openwrt/openwrt.git
    Branch master
    Revision 6d819fae5343dc4666762f359bb57a6fbe60a968

    Comments

    gemini: image: fix race condition when building copy-kernel.bin
    Make treat copy-kernel.o as intermediate and delete it when it's no
    longer needed.  This can fail when the same submake was triggered
    multiple times for different devices.
    
    	arm-openwrt-linux-muslgnueabi-as  -k -o copy-kernel.o copy-kernel.S
    	export MAKEFLAGS= ;make -w -C copy-kernel CROSS_COMPILE=arm-openwrt-linux-muslgnueabi-
    	arm-openwrt-linux-muslgnueabi-objcopy -O binary -S copy-kernel.o copy-kernel.bin
    	make[5]: Entering directory '/builder/shared-workdir/build/target/linux/gemini/image/copy-kernel'
    	arm-openwrt-linux-muslgnueabi-objcopy -O binary -S copy-kernel.o copy-kernel.bin
    	rm copy-kernel.o
    	make[5]: Leaving directory '/builder/shared-workdir/build/target/linux/gemini/image/copy-kernel'
    	# "App" partition is the rootfs
    	arm-openwrt-linux-muslgnueabi-objcopy: 'copy-kernel.o': No such file
    	Makefile:27: recipe for target 'copy-kernel.bin' failed
    	make[5]: Leaving directory '/builder/shared-workdir/build/target/linux/gemini/image/copy-kernel'
    	make[5]: *** [copy-kernel.bin] Error 1
    	Makefile:244: recipe for target '/builder/shared-workdir/build/build_dir/target-arm_fa526_musl_eabi/linux-gemini/tmp/openwrt-gemini-storlink_sl93512r-ext4-factory.bin' failed
    	make[4]: *** [/builder/shared-workdir/build/build_dir/target-arm_fa526_musl_eabi/linux-gemini/tmp/openwrt-gemini-storlink_sl93512r-ext4-factory.bin] Error 2
    
    With this change, output files are directed to $(KDIR)
    
    Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

    Changed files

    • target/linux/gemini/image/Makefile
    • target/linux/gemini/image/copy-kernel/Makefile