Merge ~nemos-team/nemos/+git/u-boot-s32:remove-u-boot-s32-source into ~nemos-team/nemos/+git/u-boot-s32:ubuntu/devel

Proposed by Isaac True
Status: Merged
Approved by: Laider Lai
Approved revision: e978950923c80ba41a07165fd8bfd5f04ee87714
Merged at revision: e978950923c80ba41a07165fd8bfd5f04ee87714
Proposed branch: ~nemos-team/nemos/+git/u-boot-s32:remove-u-boot-s32-source
Merge into: ~nemos-team/nemos/+git/u-boot-s32:ubuntu/devel
Diff against target: 102 lines (+11/-31)
4 files modified
debian/changelog (+7/-0)
debian/control (+0/-12)
debian/rules (+4/-17)
debian/u-boot-s32.lintian-overrides (+0/-2)
Reviewer Review Type Date Requested Status
Laider Lai Approve
Review via email: mp+456058@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Laider Lai (laiderlai) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index b45d428..2d1db46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1u-boot-s32 (2022.04-bsp37.0-14) noble; urgency=medium
2
3 * Remove u-boot-s32-source package as it's no longer needed for building
4 arm-trusted-firmware-s32.
5
6 -- Isaac True <isaac.true@canonical.com> Wed, 22 Nov 2023 10:23:21 +0100
7
1u-boot-s32 (2022.04-bsp37.0-13) noble; urgency=medium8u-boot-s32 (2022.04-bsp37.0-13) noble; urgency=medium
29
3 * Update nemos-s32g274ardb2.patch:10 * Update nemos-s32g274ardb2.patch:
diff --git a/debian/control b/debian/control
index c225554..3e690b7 100644
--- a/debian/control
+++ b/debian/control
@@ -65,15 +65,3 @@ Description: companion tools for Das U-Boot S32 bootloader
65 - mkimage-s3265 - mkimage-s32
66 - dumpimage-s3266 - dumpimage-s32
67 - mkenvimage-s3267 - mkenvimage-s32
68
69Package: u-boot-s32-source
70Architecture: all
71Depends: ${misc:Depends}
72Description: A boot loader for NXP S32 systems - sources
73 Das U-Boot is a cross-platform bootloader for embedded systems,
74 used as the default boot loader by several board vendors. It is
75 intended to be easy to port and to debug, and runs on many
76 supported architectures, including PPC, ARM, MIPS, x86, m68k,
77 NIOS, and Microblaze.
78 .
79 This package includes the U-Boot sources for various NXP S32 platforms.
diff --git a/debian/rules b/debian/rules
index 3079a23..5dcf861 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS))
3030
31notools := $(filter pkg.uboot.notools,$(DEB_BUILD_PROFILES))31notools := $(filter pkg.uboot.notools,$(DEB_BUILD_PROFILES))
3232
33subarchs := $(shell dh_listpackages --arch --no-package=u-boot-s32-tools --no-package=u-boot-s32-source)33subarchs := $(shell dh_listpackages --arch --no-package=u-boot-s32-tools)
3434
35# Each .deb P in subarch contains $(P_platforms).35# Each .deb P in subarch contains $(P_platforms).
36# These profiles remove values from $(P_platforms) for debugging.36# These profiles remove values from $(P_platforms) for debugging.
@@ -61,20 +61,12 @@ endif
61%:61%:
62 dh $@62 dh $@
6363
64SRC_DIR := $(CURDIR)/debian/u-boot-s32-source/usr/src/u-boot-s3264override_dh_auto_build-indep:
65SRC_TAR := $(CURDIR)/debian/u-boot-s32-source.tar65override_dh_auto_build-arch: $(subarchs)
66
67override_dh_auto_build-indep: $(SRC_TAR)
68override_dh_auto_build-arch: $(subarchs) $(SRC_TAR)
69ifeq ($(notools),)66ifeq ($(notools),)
70 override_dh_auto_build-arch: build-tools67 override_dh_auto_build-arch: build-tools
71endif68endif
7269
73$(SRC_TAR):
74 # Create source package
75 tar -cpf $(SRC_TAR) -C $(CURDIR) --exclude ./debian \
76 --exclude ./.git ./*
77
78# These intermediate per-package targets are convenient to add70# These intermediate per-package targets are convenient to add
79# prerequisites to a subarch, but they are empty by default so we need71# prerequisites to a subarch, but they are empty by default so we need
80# to prevent Make applying the default %: recipe above.72# to prevent Make applying the default %: recipe above.
@@ -145,11 +137,7 @@ build-tools:
145override_dh_auto_test-indep:137override_dh_auto_test-indep:
146138
147# Do not spend time searching for an install target in Makefile.139# Do not spend time searching for an install target in Makefile.
148override_dh_auto_install: $(SRC_DIR)140override_dh_auto_install:
149
150$(SRC_DIR):
151 mkdir -p $(SRC_DIR)
152 tar -xpf $(SRC_TAR) -C $(SRC_DIR)
153141
154# override_ would require to test notools, which is unrelated.142# override_ would require to test notools, which is unrelated.
155execute_after_dh_install-arch: $(addprefix install-,$(foreach package,$(subarchs),$($(package)_platforms))) $(addprefix installdocs-,$(subarchs))143execute_after_dh_install-arch: $(addprefix install-,$(foreach package,$(subarchs),$($(package)_platforms))) $(addprefix installdocs-,$(subarchs))
@@ -164,7 +152,6 @@ installdocs-%:
164override_dh_clean:152override_dh_clean:
165 rm -rf debian/build/153 rm -rf debian/build/
166 rm -f linux.itb linux.its154 rm -f linux.itb linux.its
167 rm -rf $(CURDIR)/debian/u-boot-s32-source $(SRC_TAR)
168 rm -rf $(CURDIR)/debian/u-boot-s32155 rm -rf $(CURDIR)/debian/u-boot-s32
169 dh_clean $(dh_clean_args)156 dh_clean $(dh_clean_args)
170 find . -type d -name __pycache__ -delete157 find . -type d -name __pycache__ -delete
diff --git a/debian/u-boot-s32.lintian-overrides b/debian/u-boot-s32.lintian-overrides
index f86a4f0..3fe0602 100644
--- a/debian/u-boot-s32.lintian-overrides
+++ b/debian/u-boot-s32.lintian-overrides
@@ -12,5 +12,3 @@ u-boot-s32 binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
12u-boot-s32 binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf12u-boot-s32 binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
1313
14u-boot-s32: description-synopsis-starts-with-article14u-boot-s32: description-synopsis-starts-with-article
15
16u-boot-s32-source: description-synopsis-starts-with-article

Subscribers

People subscribed via source and target branches

to all changes: