summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-08-23 23:15:05 +0200
committerRoland Hieber <rhi@pengutronix.de>2020-08-24 00:44:56 +0200
commit634a51ff7f272cef4df9f3ec4b8cfd89e21cbe68 (patch)
treefd6aba8e52d697653121dee8f63a3603dc6fe676
parent1631f1149e4924554ae924a81a70e63e1e5447b4 (diff)
downloadbarebox-634a51ff7f272cef4df9f3ec4b8cfd89e21cbe68.tar.gz
barebox-634a51ff7f272cef4df9f3ec4b8cfd89e21cbe68.tar.xz
debian: patches: add a minimal defconfig to build only the host tools
-rw-r--r--debian/patches/0001-sandbox-add-a-minimal-defconfig-to-build-only-the-ho.patch28
-rw-r--r--debian/patches/series1
2 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/0001-sandbox-add-a-minimal-defconfig-to-build-only-the-ho.patch b/debian/patches/0001-sandbox-add-a-minimal-defconfig-to-build-only-the-ho.patch
new file mode 100644
index 0000000000..7b19757271
--- /dev/null
+++ b/debian/patches/0001-sandbox-add-a-minimal-defconfig-to-build-only-the-ho.patch
@@ -0,0 +1,28 @@
+From: Roland Hieber <rhi@pengutronix.de>
+Date: Sun, 23 Aug 2020 23:01:45 +0200
+Subject: sandbox: add a minimal defconfig to build only the host tools
+
+For distro packaging, make it possible to build all host tools in one go
+(and a very minimal barebox image as an unimportant side artifact).
+
+Signed-off-by: Roland Hieber <rhi@pengutronix.de>
+Forwarded: <20200823223927.16691-1-rhi@pengutronix.de>,
+ https://www.mail-archive.com/barebox@lists.infradead.org/msg36187.html
+---
+ arch/sandbox/configs/hosttools_defconfig | 7 +++++++
+ 1 file changed, 7 insertions(+)
+ create mode 100644 arch/sandbox/configs/hosttools_defconfig
+
+diff --git a/arch/sandbox/configs/hosttools_defconfig b/arch/sandbox/configs/hosttools_defconfig
+new file mode 100644
+index 0000000..72ec0fc
+--- /dev/null
++++ b/arch/sandbox/configs/hosttools_defconfig
+@@ -0,0 +1,7 @@
++CONFIG_IMD=y
++CONFIG_COMPILE_HOST_TOOLS=y
++CONFIG_ARCH_IMX_USBLOADER=y
++CONFIG_MVEBU_HOSTTOOLS=y
++CONFIG_MXS_HOSTTOOLS=y
++CONFIG_OMAP3_USB_LOADER=y
++CONFIG_OMAP4_HOSTTOOL_USBBOOT=y
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000000..d086ff82c2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-sandbox-add-a-minimal-defconfig-to-build-only-the-ho.patch