From 1f24a2196641f7d832300fd45c7f5e89559ecc34 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 18 May 2024 10:58:08 +0200 Subject: more problem isolation --- blob | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 blob (limited to 'blob') diff --git a/blob b/blob deleted file mode 100755 index 601337d..0000000 --- a/blob +++ /dev/null @@ -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 - -extern const char ${base}_head; -static const char* ${base} = &${base}_head; -static const size_t ${base}_size = $(wc -c < "$input"); - -EOF - -- cgit v1.2.3