]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Fixed error in rule for creating isodir/boot/test-module
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Sun, 16 Oct 2022 00:09:51 +0000 (02:09 +0200)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Sun, 16 Oct 2022 00:09:51 +0000 (02:09 +0200)
test_module/module.mk

index 3cee183b094868393889e158fdc86d772f8db997..f8c3a2a9fd78d1185bbef511aea1bf9c733370f7 100644 (file)
@@ -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"