Skip to content

Commit c3d8bc6

Browse files
packages: bump gptfdisk, pciutils, i2c-tools, mtd-utils, dosfstools, btrfs-progs, kexec-tools
Medium-wave bumps to latest upstream, validated together by a local kvm_x86_64 image build (produces a working recovery ISO). - gptfdisk 0.8.8 -> 1.0.10 (SourceForge). Refresh the cross-compile patch for the restructured Makefile; drop add-onie-partition-types (the ONIE GUID type codes are upstream in 1.0.10's parttypes.cc). - pciutils 3.2.1 -> 3.15.0 (kernel.org). Refresh the ONIE Makefile patch; libpci SONAME stays .3 so PCIUTILS_LIBS is unchanged. Fix the build HOST: pciutils' config parser reads HOST=onie-$(ARCH)-linux as OS "onie" (unsupported) and fails to generate config.mk -- use the canonical HOST=$(ARCH)-linux. - i2c-tools 3.1.1 -> 4.4. jdelvare.nerim.net is dead -> kernel.org (.tar.bz2 -> .tar.gz). Rework the 3 patches for the 4.x layout (eepromer/ -> eeprog/, static libi2c, include/i2c/smbus.h). - mtd-utils 1.5.2 -> 2.3.1 (infraroot.at). Switch the git-snapshot scheme to a release tarball and the hand-rolled build to autotools ./configure; --without-crypto (UBIFS auth unused, as before). - dosfstools 3.0.26 -> 4.2. daniel-baumann.ch is dead -> the upstream GitHub release dist tarball; autotools build with --without-iconv and --enable-compat-symlinks (drops the obsolete remove-local-support patch). - btrfs-progs v4.9.1 -> v7.0 (kernel.org kdave). --disable-zstd/ libudev/python (deps not in the sysroot); update the installed tool + libbtrfs SONAME lists; preset ac_cv_func_{malloc,realloc}_0_nonnull so the cross build does not link the missing rpl_malloc/rpl_realloc. - kexec-tools 2.0.22 -> 2.0.32 (kernel.org). Drop both local patches (device-tree sorting and aarch64 support are upstream). Signed-off-by: Brad House <bhouse@nexthop.ai> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent aa76f3f commit c3d8bc6

32 files changed

Lines changed: 221 additions & 1148 deletions

build-config/make/btrfs-progs.make

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This is a makefile fragment that defines the build of btrfs-progs
1010
#
1111

12-
BTRFSPROGS_VERSION = v4.9.1
12+
BTRFSPROGS_VERSION = v7.0
1313
BTRFSPROGS_TARBALL = btrfs-progs-$(BTRFSPROGS_VERSION).tar.xz
1414
BTRFSPROGS_TARBALL_URLS += $(ONIE_MIRROR) \
1515
https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs
@@ -37,11 +37,10 @@ PHONY += btrfs-progs btrfs-progs-download btrfs-progs-source \
3737
btrfs-progs-configure btrfs-progs-build btrfs-progs-install \
3838
btrfs-progs-clean btrfs-progs-download-clean
3939

40-
BTRFSPROGS_LIBS = libbtrfs.so libbtrfs.so.0 libbtrfs.so.0.1
41-
BTRFSPROGS_SBIN = btrfs mkfs.btrfs btrfs-debug-tree btrfs-map-logical \
42-
btrfs-image btrfs-zero-log btrfs-find-root btrfstune \
43-
btrfs-show-super btrfs-select-super btrfs-convert \
44-
btrfsck
40+
BTRFSPROGS_LIBS = libbtrfs.so.0.1.5 libbtrfs.so libbtrfs.so.0 libbtrfs.so.0.1
41+
BTRFSPROGS_SBIN = btrfs mkfs.btrfs btrfs-map-logical \
42+
btrfs-image btrfs-find-root btrfstune \
43+
btrfs-select-super btrfsck
4544

4645
btrfs-progs: $(BTRFSPROGS_STAMP)
4746

@@ -81,6 +80,12 @@ $(BTRFSPROGS_CONFIGURE_STAMP): $(E2FSPROGS_BUILD_STAMP) \
8180
--disable-documentation \
8281
--disable-backtrace \
8382
--disable-convert \
83+
--disable-zstd \
84+
--disable-libudev \
85+
--disable-python \
86+
--with-crypto=builtin \
87+
ac_cv_func_malloc_0_nonnull=yes \
88+
ac_cv_func_realloc_0_nonnull=yes \
8489
CC=$(CROSSPREFIX)gcc \
8590
CFLAGS="$(ONIE_CFLAGS)" \
8691
$(ONIE_PKG_CONFIG)

build-config/make/dosfstools.make

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,35 @@
99
# This is a makefile fragment that defines the build of dosfstools
1010
#
1111

12-
DOSFSTOOLS_VERSION = 3.0.26
13-
DOSFSTOOLS_TARBALL = dosfstools-$(DOSFSTOOLS_VERSION).tar.xz
14-
DOSFSTOOLS_TARBALL_URLS += $(ONIE_MIRROR) http://daniel-baumann.ch/files/software/dosfstools
12+
DOSFSTOOLS_VERSION = 4.2
13+
DOSFSTOOLS_TARBALL = dosfstools-$(DOSFSTOOLS_VERSION).tar.gz
14+
DOSFSTOOLS_TARBALL_URLS += $(ONIE_MIRROR) https://github.com/dosfstools/dosfstools/releases/download/v$(DOSFSTOOLS_VERSION)
1515
DOSFSTOOLS_BUILD_DIR = $(USER_BUILDDIR)/dosfstools
1616
DOSFSTOOLS_DIR = $(DOSFSTOOLS_BUILD_DIR)/dosfstools-$(DOSFSTOOLS_VERSION)
1717

1818
DOSFSTOOLS_SRCPATCHDIR = $(PATCHDIR)/dosfstools
1919
DOSFSTOOLS_DOWNLOAD_STAMP = $(DOWNLOADDIR)/dosfstools-download
2020
DOSFSTOOLS_SOURCE_STAMP = $(USER_STAMPDIR)/dosfstools-source
2121
DOSFSTOOLS_PATCH_STAMP = $(USER_STAMPDIR)/dosfstools-patch
22+
DOSFSTOOLS_CONFIGURE_STAMP = $(USER_STAMPDIR)/dosfstools-configure
2223
DOSFSTOOLS_BUILD_STAMP = $(USER_STAMPDIR)/dosfstools-build
2324
DOSFSTOOLS_INSTALL_STAMP = $(STAMPDIR)/dosfstools-install
2425
DOSFSTOOLS_STAMP = $(DOSFSTOOLS_SOURCE_STAMP) \
2526
$(DOSFSTOOLS_PATCH_STAMP) \
27+
$(DOSFSTOOLS_CONFIGURE_STAMP) \
2628
$(DOSFSTOOLS_BUILD_STAMP) \
2729
$(DOSFSTOOLS_INSTALL_STAMP)
2830

31+
# As of 4.x dosfstools installs three programs (mkfs.fat, fsck.fat and
32+
# fatlabel). The legacy program names (dosfsck, mkdosfs, ...) are
33+
# provided as compatibility symlinks via --enable-compat-symlinks.
2934
DOSFSTOOLS_PROGRAMS = fsck.fat dosfsck fsck.msdos fsck.vfat \
3035
mkfs.fat mkdosfs mkfs.msdos mkfs.vfat \
3136
fatlabel dosfslabel
3237

3338
PHONY += dosfstools dosfstools-download dosfstools-source dosfstools-patch \
34-
dosfstools-build dosfstools-install dosfstools-clean dosfstools-download-clean
39+
dosfstools-configure dosfstools-build dosfstools-install \
40+
dosfstools-clean dosfstools-download-clean
3541

3642
dosfstools: $(DOSFSTOOLS_STAMP)
3743

@@ -59,25 +65,36 @@ $(DOSFSTOOLS_PATCH_STAMP): $(DOSFSTOOLS_SRCPATCHDIR)/* $(DOSFSTOOLS_SOURCE_STAMP
5965
$(Q) $(SCRIPTDIR)/apply-patch-series $(DOSFSTOOLS_SRCPATCHDIR)/series $(DOSFSTOOLS_DIR)
6066
$(Q) touch $@
6167

68+
dosfstools-configure: $(DOSFSTOOLS_CONFIGURE_STAMP)
69+
$(DOSFSTOOLS_CONFIGURE_STAMP): $(DOSFSTOOLS_PATCH_STAMP) | $(DEV_SYSROOT_INIT_STAMP)
70+
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
71+
$(Q) echo "==== Configure dosfstools-$(DOSFSTOOLS_VERSION) ===="
72+
$(Q) cd $(DOSFSTOOLS_DIR) && PATH='$(CROSSBIN):$(PATH)' \
73+
$(DOSFSTOOLS_DIR)/configure \
74+
--prefix=/usr \
75+
--host=$(TARGET) \
76+
--without-iconv \
77+
--enable-compat-symlinks \
78+
CC=$(CROSSPREFIX)gcc \
79+
CFLAGS="$(ONIE_CFLAGS)" \
80+
LDFLAGS="$(ONIE_LDFLAGS)" \
81+
$(ONIE_PKG_CONFIG)
82+
$(Q) touch $@
83+
6284
ifndef MAKE_CLEAN
6385
DOSFSTOOLS_NEW_FILES = $(shell test -d $(DOSFSTOOLS_DIR) && test -f $(DOSFSTOOLS_BUILD_STAMP) && \
64-
find -L $(DOSFSTOOLS_DIR) -newer $(DOSFSTOOLS_BUILD_STAMP) -type f \
86+
find -L $(DOSFSTOOLS_DIR) -newer $(DOSFSTOOLS_BUILD_STAMP) -type f \
6587
\! -name filelist-rpm -print -quit)
6688
endif
6789

68-
DOSFSTOOLS_MAKE_VARS = \
69-
CC=$(CROSSPREFIX)gcc LD=$(CROSSPREFIX)ld \
70-
CFLAGS="$(ONIE_CFLAGS)" LDFLAGS="$(ONIE_LDFLAGS)" \
71-
DESTDIR=$(DEV_SYSROOT) PREFIX=/usr
72-
7390
dosfstools-build: $(DOSFSTOOLS_BUILD_STAMP)
74-
$(DOSFSTOOLS_BUILD_STAMP): $(DOSFSTOOLS_PATCH_STAMP) $(DOSFSTOOLS_NEW_FILES) \
91+
$(DOSFSTOOLS_BUILD_STAMP): $(DOSFSTOOLS_CONFIGURE_STAMP) $(DOSFSTOOLS_NEW_FILES) \
7592
| $(DEV_SYSROOT_INIT_STAMP)
7693
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
7794
$(Q) echo "==== Building dosfstools-$(DOSFSTOOLS_VERSION) ===="
78-
$(Q) PATH='$(CROSSBIN):$(PATH)' $(MAKE) -C $(DOSFSTOOLS_DIR) $(DOSFSTOOLS_MAKE_VARS)
79-
$(Q) PATH='$(CROSSBIN):$(PATH)' $(MAKE) -C $(DOSFSTOOLS_DIR) $(DOSFSTOOLS_MAKE_VARS) \
80-
install-symlinks
95+
$(Q) PATH='$(CROSSBIN):$(PATH)' $(MAKE) -C $(DOSFSTOOLS_DIR)
96+
$(Q) PATH='$(CROSSBIN):$(PATH)' $(MAKE) -C $(DOSFSTOOLS_DIR) \
97+
DESTDIR=$(DEV_SYSROOT) install
8198
$(Q) touch $@
8299

83100
dosfstools-install: $(DOSFSTOOLS_INSTALL_STAMP)

build-config/make/gptfdisk.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This is a makefile fragment that defines the build of gptfdisk
1010
#
1111

12-
GPTFDISK_VERSION = 0.8.8
12+
GPTFDISK_VERSION = 1.0.10
1313
GPTFDISK_TARBALL = gptfdisk-$(GPTFDISK_VERSION).tar.gz
1414
GPTFDISK_TARBALL_URLS += $(ONIE_MIRROR) http://sourceforge.net/projects/gptfdisk/files/gptfdisk/$(GPTFDISK_VERSION)/
1515
GPTFDISK_BUILD_DIR = $(USER_BUILDDIR)/gptfdisk

build-config/make/i2ctools.make

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
# This is a makefile fragment that defines the build of i2ctools
1212
#
1313

14-
I2CTOOLS_VERSION = 3.1.1
15-
I2CTOOLS_TARBALL = i2c-tools-$(I2CTOOLS_VERSION).tar.bz2
16-
I2CTOOLS_TARBALL_URLS += $(ONIE_MIRROR) http://jdelvare.nerim.net/mirror/i2c-tools
14+
I2CTOOLS_VERSION = 4.4
15+
I2CTOOLS_TARBALL = i2c-tools-$(I2CTOOLS_VERSION).tar.gz
16+
I2CTOOLS_TARBALL_URLS += $(ONIE_MIRROR) https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools
1717
I2CTOOLS_BUILD_DIR = $(MBUILDDIR)/i2c-tools
1818
I2CTOOLS_DIR = $(I2CTOOLS_BUILD_DIR)/i2c-tools-$(I2CTOOLS_VERSION)
1919

@@ -65,8 +65,8 @@ $(I2CTOOLS_PATCH_STAMP): $(I2CTOOLS_SRCPATCHDIR)/* $(MACHINE_I2CTOOLS_PATCHDIR_F
6565
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
6666
$(Q) echo "==== Patching i2ctools ===="
6767
$(Q) mkdir -p $(I2CTOOLS_DIR)/sys_eeprom
68-
$(Q) cp $(I2CTOOLS_DIR)/eepromer/24cXX.c $(I2CTOOLS_DIR)/sys_eeprom/24cXX.c
69-
$(Q) cp $(I2CTOOLS_DIR)/eepromer/24cXX.h $(I2CTOOLS_DIR)/sys_eeprom/24cXX.h
68+
$(Q) cp $(I2CTOOLS_DIR)/eeprog/24cXX.c $(I2CTOOLS_DIR)/sys_eeprom/24cXX.c
69+
$(Q) cp $(I2CTOOLS_DIR)/eeprog/24cXX.h $(I2CTOOLS_DIR)/sys_eeprom/24cXX.h
7070
$(Q) mkdir -p $(I2CTOOLS_PATCHDIR)
7171
$(Q) cp $(I2CTOOLS_SRCPATCHDIR)/* $(I2CTOOLS_PATCHDIR)
7272
ifneq ($(MACHINE_I2CTOOLS_PATCHDIR),)

build-config/make/kexec-tools.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This is a makefile fragment that defines the build of kexec-tools
1010
#
1111

12-
KEXEC_VERSION = 2.0.22
12+
KEXEC_VERSION = 2.0.32
1313
KEXEC_TARBALL = kexec-tools-$(KEXEC_VERSION).tar.xz
1414
KEXEC_TARBALL_URLS += $(ONIE_MIRROR) \
1515
https://www.kernel.org/pub/linux/utils/kernel/kexec

build-config/make/mtdutils.make

Lines changed: 64 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,28 @@
1010
# This is a makefile fragment that defines the build of mtdutils
1111
#
1212

13-
MTDUTILS_VERSION = 1.5.2
14-
MTDUTILS_COMMIT = e4c8885bddac201ba0ef88560d6444f39e1ff870
15-
MTDUTILS_TARBALL = mtd-utils-$(MTDUTILS_VERSION).tar.gz
16-
MTDUTILS_TARBALL_URLS += $(ONIE_MIRROR) http://git.infradead.org/mtd-utils.git/snapshot
13+
MTDUTILS_VERSION = 2.3.1
14+
MTDUTILS_TARBALL = mtd-utils-$(MTDUTILS_VERSION).tar.bz2
15+
MTDUTILS_TARBALL_URLS += $(ONIE_MIRROR) https://infraroot.at/pub/mtd
1716
MTDUTILS_BUILD_DIR = $(USER_BUILDDIR)/mtd-utils
18-
MTDUTILS_DIR = $(MTDUTILS_BUILD_DIR)/mtd-utils-e4c8885
17+
MTDUTILS_DIR = $(MTDUTILS_BUILD_DIR)/mtd-utils-$(MTDUTILS_VERSION)
1918

2019
MTDUTILS_DOWNLOAD_STAMP = $(DOWNLOADDIR)/mtdutils-$(MTDUTILS_VERSION)-download
2120
MTDUTILS_SOURCE_STAMP = $(USER_STAMPDIR)/mtdutils-source
21+
MTDUTILS_CONFIGURE_STAMP = $(USER_STAMPDIR)/mtdutils-configure
2222
MTDUTILS_BUILD_STAMP = $(USER_STAMPDIR)/mtdutils-build
2323
MTDUTILS_INSTALL_STAMP = $(STAMPDIR)/mtdutils-install
2424
MTDUTILS_STAMP = $(MTDUTILS_SOURCE_STAMP) \
25+
$(MTDUTILS_CONFIGURE_STAMP) \
2526
$(MTDUTILS_BUILD_STAMP) \
2627
$(MTDUTILS_INSTALL_STAMP)
2728

28-
MTDBINS = mkfs.jffs2 mkfs.ubifs ubinize ubiformat ubinfo mtdinfo
29+
MTDBINS = mkfs.jffs2 mkfs.ubifs ubinize ubiformat ubinfo mtdinfo
2930
UBIBINS = ubiattach ubimkvol ubidetach ubirmvol
3031

31-
PHONY += mtdutils mtdutils-download mtdutils-source mtdutils-build \
32-
mtdutils-install mtdutils-clean mtdutils-download-clean
32+
PHONY += mtdutils mtdutils-download mtdutils-source mtdutils-configure \
33+
mtdutils-build mtdutils-install mtdutils-clean mtdutils-download-clean \
34+
mtdutils-configure-help
3335

3436
mtdutils: $(MTDUTILS_STAMP)
3537

@@ -39,8 +41,7 @@ $(MTDUTILS_DOWNLOAD_STAMP): $(PROJECT_STAMP)
3941
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
4042
$(Q) echo "==== Getting upstream mtdutils ===="
4143
$(Q) $(SCRIPTDIR)/fetch-package $(DOWNLOADDIR) $(UPSTREAMDIR) \
42-
$(MTDUTILS_COMMIT).tar.gz $(MTDUTILS_TARBALL_URLS)
43-
$(Q) cd $(DOWNLOADDIR) && ln -fs $(MTDUTILS_COMMIT).tar.gz $(MTDUTILS_TARBALL)
44+
$(MTDUTILS_TARBALL) $(MTDUTILS_TARBALL_URLS)
4445
$(Q) touch $@
4546

4647
SOURCE += $(MTDUTILS_SOURCE_STAMP)
@@ -51,29 +52,66 @@ $(MTDUTILS_SOURCE_STAMP): $(USER_TREE_STAMP) | $(MTDUTILS_DOWNLOAD_STAMP)
5152
$(Q) $(SCRIPTDIR)/extract-package $(MTDUTILS_BUILD_DIR) $(DOWNLOADDIR)/$(MTDUTILS_TARBALL)
5253
$(Q) touch $@
5354

55+
mtdutils-configure-help: $(UTILLINUX_BUILD_STAMP) $(LZO_BUILD_STAMP) \
56+
$(ZLIB_BUILD_STAMP) \
57+
$(MTDUTILS_SOURCE_STAMP) | $(DEV_SYSROOT_INIT_STAMP)
58+
$(Q) echo "==== Configure help for mtd-utils-$(MTDUTILS_VERSION) ===="
59+
$(Q) cd $(MTDUTILS_DIR) && PATH='$(CROSSBIN):$(PATH)' \
60+
$(MTDUTILS_DIR)/configure --help
61+
62+
# mtd-utils 2.x uses an autotools (./configure) build.
63+
#
64+
# Optional dependencies:
65+
# - zlib, lzo, libuuid (util-linux) are provided by ONIE and enabled
66+
# (UBIFS/JFFS2 support).
67+
# - crypto (UBIFS authentication) is disabled: ONIE does not need it and
68+
# the prior 1.5.2 build did not use it.
69+
# - zstd is NOT provided by ONIE, so ZSTD compression is disabled.
70+
# - selinux is NOT provided by ONIE, so SELinux support is disabled.
71+
# - xattr is disabled to match the prior 1.5.2 build (WITHOUT_XATTR=1).
72+
# - The unit/test programs are disabled (--without-tests); they are not
73+
# installed and pull in extra dependencies (pthread, clock_gettime).
74+
mtdutils-configure: $(MTDUTILS_CONFIGURE_STAMP)
75+
$(MTDUTILS_CONFIGURE_STAMP): $(UTILLINUX_BUILD_STAMP) $(LZO_BUILD_STAMP) \
76+
$(ZLIB_BUILD_STAMP) \
77+
$(MTDUTILS_SOURCE_STAMP) | $(DEV_SYSROOT_INIT_STAMP)
78+
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
79+
$(Q) echo "==== Configure mtd-utils-$(MTDUTILS_VERSION) ===="
80+
$(Q) cd $(MTDUTILS_DIR) && PATH='$(CROSSBIN):$(PATH)' \
81+
$(MTDUTILS_DIR)/configure \
82+
--prefix=/usr \
83+
--host=$(TARGET) \
84+
--with-zlib \
85+
--with-lzo \
86+
--with-ubifs \
87+
--with-jffs \
88+
--without-crypto \
89+
--without-zstd \
90+
--without-xattr \
91+
--without-selinux \
92+
--without-tests \
93+
--without-lsmtd \
94+
--disable-unit-tests \
95+
--disable-ubihealthd \
96+
CC=$(CROSSPREFIX)gcc \
97+
CFLAGS="$(ONIE_CFLAGS)" \
98+
LDFLAGS="$(ONIE_LDFLAGS)" \
99+
$(ONIE_PKG_CONFIG)
100+
$(Q) touch $@
101+
54102
ifndef MAKE_CLEAN
55103
MTDUTILS_NEW_FILES = $(shell test -d $(MTDUTILS_DIR) && test -f $(MTDUTILS_BUILD_STAMP) && \
56-
find -L $(MTDUTILS_DIR) -newer $(MTDUTILS_BUILD_STAMP) -type f -print -quit)
104+
find -L $(MTDUTILS_DIR) -newer $(MTDUTILS_BUILD_STAMP) -type f -print -quit)
57105
endif
58106

59107
mtdutils-build: $(MTDUTILS_BUILD_STAMP)
60-
$(MTDUTILS_BUILD_STAMP): $(MTDUTILS_NEW_FILES) $(UTILLINUX_BUILD_STAMP) \
61-
$(LZO_BUILD_STAMP) $(ZLIB_BUILD_STAMP) \
62-
$(MTDUTILS_SOURCE_STAMP) | $(DEV_SYSROOT_INIT_STAMP)
108+
$(MTDUTILS_BUILD_STAMP): $(MTDUTILS_NEW_FILES) $(MTDUTILS_CONFIGURE_STAMP)
63109
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
110+
$(Q) echo "==== Building mtd-utils-$(MTDUTILS_VERSION) ===="
64111
$(Q) PATH='$(CROSSBIN):$(PATH)' \
65-
$(MAKE) -C $(MTDUTILS_DIR) \
66-
PREFIX=$(DEV_SYSROOT)/usr \
67-
CROSS=$(CROSSPREFIX) \
68-
CFLAGS="-g $(ONIE_CFLAGS)" \
69-
WITHOUT_XATTR=1
112+
$(MAKE) -C $(MTDUTILS_DIR) DESTDIR=$(DEV_SYSROOT)
70113
$(Q) PATH='$(CROSSBIN):$(PATH)' \
71-
$(MAKE) -C $(MTDUTILS_DIR) \
72-
PREFIX=$(DEV_SYSROOT)/usr \
73-
CROSS=$(CROSSPREFIX) \
74-
CFLAGS="-g $(ONIE_CFLAGS)" \
75-
WITHOUT_XATTR=1 \
76-
install
114+
$(MAKE) -C $(MTDUTILS_DIR) DESTDIR=$(DEV_SYSROOT) install
77115
$(Q) touch $@
78116

79117
mtdutils-install: $(MTDUTILS_INSTALL_STAMP)
@@ -101,8 +139,7 @@ mtdutils-clean:
101139

102140
DOWNLOAD_CLEAN += mtdutils-download-clean
103141
mtdutils-download-clean:
104-
$(Q) rm -f $(MTDUTILS_DOWNLOAD_STAMP) $(DOWNLOADDIR)/$(MTDUTILS_COMMIT).tar.gz \
105-
$(DOWNLOADDIR)/$(MTDUTILS_TARBALL)
142+
$(Q) rm -f $(MTDUTILS_DOWNLOAD_STAMP) $(DOWNLOADDIR)/$(MTDUTILS_TARBALL)
106143

107144
#-------------------------------------------------------------------------------
108145
#

build-config/make/pciutils.make

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# This is a makefile fragment that defines the build of pciutils
1010
#
1111

12-
PCIUTILS_VERSION = 3.2.1
12+
PCIUTILS_VERSION = 3.15.0
1313
PCIUTILS_TARBALL = pciutils-$(PCIUTILS_VERSION).tar.xz
1414
PCIUTILS_TARBALL_URLS += $(ONIE_MIRROR) https://www.kernel.org/pub/software/utils/pciutils
1515
PCIUTILS_BUILD_DIR = $(USER_BUILDDIR)/pciutils
@@ -70,9 +70,9 @@ $(PCIUTILS_BUILD_STAMP): $(PCIUTILS_PATCH_STAMP) $(PCIUTILS_NEW_FILES) $(ZLIB_BU
7070
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
7171
$(Q) echo "==== Building pciutils-$(PCIUTILS_VERSION) ===="
7272
$(Q) PATH='$(CROSSBIN):$(PATH)' $(MAKE) -C $(PCIUTILS_DIR) lib/libpci.so.$(PCIUTILS_VERSION) CROSS_COMPILE=$(CROSSPREFIX) \
73-
HOST=onie-$(ARCH)-linux ZLIB=yes DNS=no SHARED=yes LIBKMOD=no PREFIX=/usr DESTDIR=$(DEV_SYSROOT)
73+
HOST=$(ARCH)-linux ZLIB=yes DNS=no SHARED=yes LIBKMOD=no PREFIX=/usr DESTDIR=$(DEV_SYSROOT)
7474
$(Q) PATH='$(CROSSBIN):$(PATH)' $(MAKE) -C $(PCIUTILS_DIR) install-lib CROSS_COMPILE=$(CROSSPREFIX) \
75-
HOST=onie-$(ARCH)-linux ZLIB=yes DNS=no SHARED=yes LIBKMOD=no PREFIX=/usr DESTDIR=$(DEV_SYSROOT)
75+
HOST=$(ARCH)-linux ZLIB=yes DNS=no SHARED=yes LIBKMOD=no PREFIX=/usr DESTDIR=$(DEV_SYSROOT)
7676
$(Q) touch $@
7777

7878
pciutils-install: $(PCIUTILS_INSTALL_STAMP)

patches/dosfstools/remove-local-support.patch

Lines changed: 0 additions & 37 deletions
This file was deleted.

patches/dosfstools/series

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
# This series applies on GIT commit 277b73b04cda1663511bb28ce9221d7b9561385b
2-
remove-local-support.patch
1+
# This series applies on dosfstools release v4.2
2+
#
3+
# No patches required.
4+
#
5+
# The former remove-local-support.patch (which stubbed out the gettext/
6+
# locale/iconv support that uClibc handles poorly) was dropped for 4.x.
7+
# dosfstools 4.x switched to an autotools build and gates iconv behind
8+
# --with-iconv/--without-iconv. We configure with --without-iconv, which
9+
# compiles charconv.c with its built-in CP850 table and no iconv/gettext
10+
# dependency, achieving the same result without source patching.

0 commit comments

Comments
 (0)