projects
/
voyage-au-centre-des-fichiers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c797957
)
Fixed error in rule for creating isodir/boot/test-module
author
Amelia Coutard
<eliottulio.coutard@gmail.com>
Sun, 16 Oct 2022 00:09:51 +0000
(
02:09
+0200)
committer
Amelia Coutard
<eliottulio.coutard@gmail.com>
Sun, 16 Oct 2022 00:09:51 +0000
(
02:09
+0200)
test_module/module.mk
patch
|
blob
|
history
diff --git
a/test_module/module.mk
b/test_module/module.mk
index 3cee183b094868393889e158fdc86d772f8db997..f8c3a2a9fd78d1185bbef511aea1bf9c733370f7 100644
(file)
--- a/
test_module/module.mk
+++ b/
test_module/module.mk
@@
-8,6
+8,7
@@
TO_ISO += isodir/boot/test-module
isodir/boot/test-module: test_module/test.S
+ mkdir -p isodir/boot
export TMP="$$(mktemp)"; \
printf "$$($(CXX) $(CXX_ARGS) -c "$<" -o $$TMP && objdump $$TMP -d | grep -A 10000000000 '<_start>' | tail -n +2 | sed 's/^ *[0-9a-f]*:\t//' | sed 's/\t.*$$//' | tr -d '\n' | sed 's/ */ /g' | sed 's/^/ /' | sed 's/ $$//' | sed 's/ /\\x/g')" > isodir/boot/test-module; \
rm "$$TMP"