From: Amelia Coutard Date: Sun, 16 Oct 2022 00:09:51 +0000 (+0200) Subject: Fixed error in rule for creating isodir/boot/test-module X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=eb9674909ff75251b1b8ca8a6648ecb317020272;p=voyage-au-centre-des-fichiers.git Fixed error in rule for creating isodir/boot/test-module --- diff --git a/test_module/module.mk b/test_module/module.mk index 3cee183..f8c3a2a 100644 --- 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"