env: Fix operation of 'make environ'
PATCH 1/1 env: Fix operation of 'make environ'
This was broken by the recent environment refactoring. Specifically:
$ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2
Fix this by updating the Makefile and adjusting the #include filesnames in two C files.
---
Makefile | 2 +- tools/env/env_attr.c | 2 +- tools/env/env_flags.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Makefile +1 -1
@@ -1466,7 +1466,7 @@ checkarmreloc: u-boot fi environ: scripts_basic - $(Q)$(MAKE) $(build)=tools/$@ + $(Q)$(MAKE) $(build)=tools/env tools-only: scripts_basic $(version_h) $(timestamp_h) $(Q)$(MAKE) $(build)=tools
tools/env/env_attr.c +1 -1
@@ -1 +1 @@ -#include "../../common/env_attr.c" +#include "../../env/attr.c"
tools/env/env_flags.c +1 -1
@@ -1 +1 @@ -#include "../../common/env_flags.c" +#include "../../env/flags.c"
Signature · 1 line
2.14.1.342.g6490525c54-goog
PATCH 1/1 env: Fix operation of 'make environ'
Hi Simon,
Quoted 7 lines · Simon Glass
This was broken by the recent environment refactoring. Specifically:
$ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2
Quoted 6 lines
Fix this by updating the
Makefileand adjusting the #include filesnames in two C files.Fixes ec74f5f (Makefile: Rename 'env' target to 'environ')Reported-by Måns Rullgård <[email protected]>Signed-off-by Simon Glass <[email protected]>
I assume this was an accident. There is nothing different about this since the last time.
Cheers,
-Joe
PATCH 1/1 env: Fix operation of 'make environ'
Hi Joe,
Quoted 13 lines · Joe Hershberger
Hi Simon,
Quoted 10 lines · Simon Glass
This was broken by the recent environment refactoring. Specifically:
$ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2Fix this by updating the
Makefileand adjusting the #include filesnames in two C files.
Quoted 6 lines
Quoted 3 lines
Fixes ec74f5f (Makefile: Rename 'env' target to 'environ')Reported-by Måns Rullgård <[email protected]>Signed-off-by Simon Glass <[email protected]>I assume this was an accident. There is nothing different about this since the last time.
Sorry, yes, please ignore.
Regards,
Simon