[Buildroot] $(SED) not defined if 'make menuconfig savedefconfig'
alvaro.gamez at hazent.com
Mon Jun 15 10:26:02 UTC 2015
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
$ 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
Álvaro Gámez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot