diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-18 10:58:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-18 10:58:08 +0200 |
commit | 1f24a2196641f7d832300fd45c7f5e89559ecc34 (patch) | |
tree | dd9316c305118d269f9043a421bf7af9273a6723 /blob | |
parent | e74b821cf13869a99ac2933493207680d6666186 (diff) |
more problem isolation
Diffstat (limited to 'blob')
-rwxr-xr-x | blob | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -1,24 +0,0 @@ -#!/bin/sh -input="$1" -base="$2" - -# assembly (used to compile data with custom symbol name) -cat << EOF > "$base.s" -.section .rodata -.global ${base}_head -${base}_head: -.incbin "$input" -EOF - -# C header -cat << EOF > "$base.h" -#pragma once -// NOTE: THIS FILE IS GENERATED, DO NOT EDIT -#include <stddef.h> - -extern const char ${base}_head; -static const char* ${base} = &${base}_head; -static const size_t ${base}_size = $(wc -c < "$input"); - -EOF - |