mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/2] fix kernel build dep from bc
@ 2017-02-03 11:03 Markus Niebel
  2017-02-03 11:03 ` [ptxdist] [PATCH 1/2] host-bc: add rule for host-bc target Markus Niebel
  2017-02-03 11:03 ` [ptxdist] [PATCH 2/2] kernel: depend kernel on having bc installed Markus Niebel
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Niebel @ 2017-02-03 11:03 UTC (permalink / raw)
  To: ptxdist; +Cc: felschm, Markus Niebel

From: Markus Niebel <Markus.Niebel@tq-group.com>

kernel versions newer than 3.10 have bc as build dependency
add a new host-bc package and let kernel select this package

Markus Niebel (2):
  host-bc: add rule for host-bc target
  kernel: depend kernel on having bc installed

 platforms/kernel.in |  1 +
 rules/host-bc.in    |  6 ++++++
 rules/host-bc.make  | 17 +++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 rules/host-bc.in
 create mode 100644 rules/host-bc.make

-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ptxdist] [PATCH 1/2] host-bc: add rule for host-bc target
  2017-02-03 11:03 [ptxdist] [PATCH 0/2] fix kernel build dep from bc Markus Niebel
@ 2017-02-03 11:03 ` Markus Niebel
  2017-02-03 11:03 ` [ptxdist] [PATCH 2/2] kernel: depend kernel on having bc installed Markus Niebel
  1 sibling, 0 replies; 3+ messages in thread
From: Markus Niebel @ 2017-02-03 11:03 UTC (permalink / raw)
  To: ptxdist; +Cc: felschm, Markus Niebel

From: Markus Niebel <Markus.Niebel@tq-group.com>

bc is needed to build kernel versions above 3.10. The
tool is installed on most development systems but we want
to be user firendly.

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
 rules/host-bc.in   |  6 ++++++
 rules/host-bc.make | 17 +++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 rules/host-bc.in
 create mode 100644 rules/host-bc.make

diff --git a/rules/host-bc.in b/rules/host-bc.in
new file mode 100644
index 0000000..901f8a5
--- /dev/null
+++ b/rules/host-bc.in
@@ -0,0 +1,6 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_BC
+	tristate
+	default ALLYES
diff --git a/rules/host-bc.make b/rules/host-bc.make
new file mode 100644
index 0000000..060c8e0
--- /dev/null
+++ b/rules/host-bc.make
@@ -0,0 +1,17 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_BC) += host-bc
+
+
+# vim: syntax=make
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ptxdist] [PATCH 2/2] kernel: depend kernel on having bc installed
  2017-02-03 11:03 [ptxdist] [PATCH 0/2] fix kernel build dep from bc Markus Niebel
  2017-02-03 11:03 ` [ptxdist] [PATCH 1/2] host-bc: add rule for host-bc target Markus Niebel
@ 2017-02-03 11:03 ` Markus Niebel
  1 sibling, 0 replies; 3+ messages in thread
From: Markus Niebel @ 2017-02-03 11:03 UTC (permalink / raw)
  To: ptxdist; +Cc: felschm, Markus Niebel

From: Markus Niebel <Markus.Niebel@tq-group.com>

This is needed to build kernels newer than 3.10.
Select new host-bc rule for kernel target to
make sure bc is there before compiling kernel

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
 platforms/kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index fd1c492..3ee2812 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -8,6 +8,7 @@ menuconfig KERNEL
 	select HOST_XZ			if KERNEL_XZ
 	select HOST_LZOP		if KERNEL_LZOP
 	select HOST_LIBKMOD		if KERNEL_MODULES
+	select HOST_BC
 	prompt "Linux kernel                  "
 
 if KERNEL
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-03 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03 11:03 [ptxdist] [PATCH 0/2] fix kernel build dep from bc Markus Niebel
2017-02-03 11:03 ` [ptxdist] [PATCH 1/2] host-bc: add rule for host-bc target Markus Niebel
2017-02-03 11:03 ` [ptxdist] [PATCH 2/2] kernel: depend kernel on having bc installed Markus Niebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox