Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] $(SED) not defined if 'make menuconfig savedefconfig'
@ 2015-06-15 10:26 Alvaro Gamez
  2015-06-15 13:37 ` Thomas Petazzoni
  0 siblings, 1 reply; 14+ messages in thread
From: Alvaro Gamez @ 2015-06-15 10:26 UTC (permalink / raw)
  To: buildroot

Hi!

While using buildroot-submodule (
https://github.com/Openwide-Ingenierie/buildroot-submodule) I've noticed
this happens since commit f71a621d91ec27f175fc84012962f88b1107305f was
introduced into buildroot.

$ make menuconfig savedefconfig
[Do whatever, or nothing at all and exit, there's no need to save anything]
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

make: /BR2_DEFCONFIG=/d: Command not found
Makefile:777: recipe for target 'savedefconfig' failed
make: *** [savedefconfig] Error 127

However,
$ make menuconfig
$ make savedefconfig

does not end with that error. I've just tracked it down to the fact that
$(SED) is not defined when menuconfig savedefconfig are used in a single
make call, whereas it equals to '/bin/sed -i -e'

Simply replacing that @$(SED) by /bin/sed -i -e on line 777 of Makefile
makes it work again, but I don't think that solution is desirable. I'm
sorry I can't provide a full patch, the motive of this bug is beyond my
knowledge.

Best regards

-- 
?lvaro G?mez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150615/e5bb3d96/attachment.html>

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

end of thread, other threads:[~2016-02-28  7:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-15 10:26 [Buildroot] $(SED) not defined if 'make menuconfig savedefconfig' Alvaro Gamez
2015-06-15 13:37 ` Thomas Petazzoni
2015-06-15 14:20   ` rdkehn at yahoo.com
2015-06-16  7:58     ` Alvaro Gamez
2016-02-16 11:46       ` Alvaro Gamez
2016-02-16 15:10         ` Thomas Petazzoni
2016-02-16 15:15           ` [Buildroot] [PATCH 1/1] Declare SED Makefile instead of package/Makefile.in so it exists globally Alvaro G. M
2016-02-16 20:35             ` Thomas Petazzoni
2016-02-16 22:35               ` Arnout Vandecappelle
2016-02-17  8:22                 ` Alvaro Gamez
2016-02-17  8:47                   ` Thomas Petazzoni
2016-02-27 13:17                     ` Arnout Vandecappelle
2016-02-27 22:00                       ` Peter Korsgaard
2016-02-28  7:43                         ` Alvaro Gamez

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