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
1diff --git a/debian/changelog b/debian/changelog
2index b45d428..2d1db46 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+u-boot-s32 (2022.04-bsp37.0-14) noble; urgency=medium
7+
8+ * Remove u-boot-s32-source package as it's no longer needed for building
9+ arm-trusted-firmware-s32.
10+
11+ -- Isaac True <isaac.true@canonical.com> Wed, 22 Nov 2023 10:23:21 +0100
12+
13 u-boot-s32 (2022.04-bsp37.0-13) noble; urgency=medium
14
15 * Update nemos-s32g274ardb2.patch:
16diff --git a/debian/control b/debian/control
17index c225554..3e690b7 100644
18--- a/debian/control
19+++ b/debian/control
20@@ -65,15 +65,3 @@ Description: companion tools for Das U-Boot S32 bootloader
21 - mkimage-s32
22 - dumpimage-s32
23 - mkenvimage-s32
24-
25-Package: u-boot-s32-source
26-Architecture: all
27-Depends: ${misc:Depends}
28-Description: A boot loader for NXP S32 systems - sources
29- Das U-Boot is a cross-platform bootloader for embedded systems,
30- used as the default boot loader by several board vendors. It is
31- intended to be easy to port and to debug, and runs on many
32- supported architectures, including PPC, ARM, MIPS, x86, m68k,
33- NIOS, and Microblaze.
34- .
35- This package includes the U-Boot sources for various NXP S32 platforms.
36diff --git a/debian/rules b/debian/rules
37index 3079a23..5dcf861 100755
38--- a/debian/rules
39+++ b/debian/rules
40@@ -30,7 +30,7 @@ LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS))
41
42 notools := $(filter pkg.uboot.notools,$(DEB_BUILD_PROFILES))
43
44-subarchs := $(shell dh_listpackages --arch --no-package=u-boot-s32-tools --no-package=u-boot-s32-source)
45+subarchs := $(shell dh_listpackages --arch --no-package=u-boot-s32-tools)
46
47 # Each .deb P in subarch contains $(P_platforms).
48 # These profiles remove values from $(P_platforms) for debugging.
49@@ -61,20 +61,12 @@ endif
50 %:
51 dh $@
52
53-SRC_DIR := $(CURDIR)/debian/u-boot-s32-source/usr/src/u-boot-s32
54-SRC_TAR := $(CURDIR)/debian/u-boot-s32-source.tar
55-
56-override_dh_auto_build-indep: $(SRC_TAR)
57-override_dh_auto_build-arch: $(subarchs) $(SRC_TAR)
58+override_dh_auto_build-indep:
59+override_dh_auto_build-arch: $(subarchs)
60 ifeq ($(notools),)
61 override_dh_auto_build-arch: build-tools
62 endif
63
64-$(SRC_TAR):
65- # Create source package
66- tar -cpf $(SRC_TAR) -C $(CURDIR) --exclude ./debian \
67- --exclude ./.git ./*
68-
69 # These intermediate per-package targets are convenient to add
70 # prerequisites to a subarch, but they are empty by default so we need
71 # to prevent Make applying the default %: recipe above.
72@@ -145,11 +137,7 @@ build-tools:
73 override_dh_auto_test-indep:
74
75 # Do not spend time searching for an install target in Makefile.
76-override_dh_auto_install: $(SRC_DIR)
77-
78-$(SRC_DIR):
79- mkdir -p $(SRC_DIR)
80- tar -xpf $(SRC_TAR) -C $(SRC_DIR)
81+override_dh_auto_install:
82
83 # override_ would require to test notools, which is unrelated.
84 execute_after_dh_install-arch: $(addprefix install-,$(foreach package,$(subarchs),$($(package)_platforms))) $(addprefix installdocs-,$(subarchs))
85@@ -164,7 +152,6 @@ installdocs-%:
86 override_dh_clean:
87 rm -rf debian/build/
88 rm -f linux.itb linux.its
89- rm -rf $(CURDIR)/debian/u-boot-s32-source $(SRC_TAR)
90 rm -rf $(CURDIR)/debian/u-boot-s32
91 dh_clean $(dh_clean_args)
92 find . -type d -name __pycache__ -delete
93diff --git a/debian/u-boot-s32.lintian-overrides b/debian/u-boot-s32.lintian-overrides
94index f86a4f0..3fe0602 100644
95--- a/debian/u-boot-s32.lintian-overrides
96+++ b/debian/u-boot-s32.lintian-overrides
97@@ -12,5 +12,3 @@ u-boot-s32 binary: statically-linked-binary usr/lib/u-boot/*/uboot.elf
98 u-boot-s32 binary: shared-library-lacks-prerequisites usr/lib/u-boot/*/uboot.elf
99
100 u-boot-s32: description-synopsis-starts-with-article
101-
102-u-boot-s32-source: description-synopsis-starts-with-article

Subscribers

People subscribed via source and target branches

to all changes: