Fix makefile.
PATCH 1/1 Fix makefile.
--- documentation/sdk-manual/working-projects.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/sdk-manual/working-projects.rst +2 -2
@@ -296,8 +296,8 @@ example: ${CC} main.o module.o -o target_bin main.o: main.c module.h ${CC} -I . -c main.c - module.o: module.c - module.h ${CC} -I . -c module.c + module.o: module.c module.h + ${CC} -I . -c module.c clean: rm -rf *.o rm target_bin
Signature · 1 line
2.40.0.windows.1
What is bring fixed and why? The commit message needs to include this information.
Alex
Quoted 36 lines · Tom Isaacson
Signed-off-by Tom Isaacson <[email protected]>--- documentation/sdk-manual/working-projects.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)documentation/sdk-manual/working-projects.rst +2
-3@@ -296,8 +296,8 @@ example: ${CC} main.o module.o -o target_bin main.o: main.c module.h ${CC} -I . -c main.c - module.o: module.c - module.h ${CC} -I . -c module.c + module.o: module.c module.h + ${CC} -I . -c module.c clean: rm -rf *.o rm target_bin --2.40.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#3971):
https://lists.yoctoproject.org/g/docs/message/3971
Mute This Topic: https://lists.yoctoproject.org/mt/99193507/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH v2 1/1 sdk-manual: fix Makefile example
From: Michael Opdenacker <[email protected]>
From: Tom Isaacson <[email protected]>
"module.h" should be part of the dependency line
Space fixes too
--- documentation/sdk-manual/working-projects.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
documentation/sdk-manual/working-projects.rst +3 -3
@@ -293,11 +293,11 @@ example: # CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux # CC="gcc" all: main.o module.o - ${CC} main.o module.o -o target_bin + ${CC} main.o module.o -o target_bin main.o: main.c module.h ${CC} -I . -c main.c - module.o: module.c - module.h ${CC} -I . -c module.c + module.o: module.c module.h + ${CC} -I . -c module.c clean: rm -rf *.o rm target_bin
Signature · 1 line
2.34.1
Quoted 1 line · Alexander Kanavin
What is bring fixed and why? The commit message needs to include this information.
Happy to help with that. Thanks Isaac for the patch and Alex for the review! Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com