Skip to contentSkip to conversation

scripts: fix kernel-install-target config

PATCH In review Alexander Aring 2 participants 4 messages Nov 19, 2013 – Nov 20, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 scripts: fix kernel-install-target config

---
This confused me a little bit... commit id 61cf2b51bccbf18c3df505a77db759454e8574ca looks different than the commit on barebox mailinglist [1]. What's happend there? :-)

[1] http://lists.infradead.org/pipermail/barebox/2013-September/016457.html

 scripts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile +1 -1
index ce3fd53..2f78c4b 100644
@@ -25,7 +25,7 @@ subdir-$(CONFIG_X86)		+= setupmbr
 subdir-$(CONFIG_DTC)		+= dtc
 
 targetprogs-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target
-targetprogs-$(CONFIG_KERNEL_INSTALL_TARGET) += bareboxenv-target
+targetprogs-$(CONFIG_KERNEL_INSTALL_TARGET) += kernel-install-target
 
 # Let clean descend into subdirs
 subdir-	+= basic kconfig setupmbr
Signature · 7 lines
1.8.4.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 common: add dependency !SANDBOX on target tools

The build of target tools fails on sandbox architecture. We don't need any target tools in this case, so add a dependency.

---
 common/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
common/Kconfig +2 -0
index ccfbc80..06edbc2 100644
@@ -453,6 +453,7 @@ config BLSPEC
 
 config KERNEL_INSTALL_TARGET
 	bool
+	depends on !SANDBOX
 	prompt "Build kernel-install utility for the target"
 	help
 	  Enable this to compile the kernel-install script using the cross
@@ -610,6 +611,7 @@ config DEFAULT_ENVIRONMENT_PATH
 
 config BAREBOXENV_TARGET
 	bool
+	depends on !SANDBOX
 	prompt "build bareboxenv tool for target"
 	help
 	  'bareboxenv' is a tool to access the barebox environment from a running Linux
Signature · 7 lines
1.8.4.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
In reply to Alexander Aring
Quoted 5 lines · Alexander Aring

---
This confused me a little bit... commit id 61cf2b51bccbf18c3df505a77db759454e8574ca looks different than the commit on barebox mailinglist [1]. What's happend there? :-)

No idea, looks like copy-paste error. Stopped thinking about it and applied ;)

Sascha

Quoted 28 lines

[1] http://lists.infradead.org/pipermail/barebox/2013-September/016457.html

 scripts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile +1 -1
index ce3fd53..2f78c4b 100644
@@ -25,7 +25,7 @@ subdir-$(CONFIG_X86)		+= setupmbr
 subdir-$(CONFIG_DTC)		+= dtc
 
 targetprogs-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target
-targetprogs-$(CONFIG_KERNEL_INSTALL_TARGET) += bareboxenv-target
+targetprogs-$(CONFIG_KERNEL_INSTALL_TARGET) += kernel-install-target
 
 # Let clean descend into subdirs
 subdir-	+= basic kconfig setupmbr
Signature · 7 lines
1.8.4.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox