]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Kbuild
tools/imagetool: remove linker script
[karo-tx-uboot.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index 6e1698c5bf63aba67cf8bb6a02dfd23432f94c57..ef97787bf45945ee22803325a641d13b9c4468d9 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -53,7 +53,8 @@ targets += arch/$(ARCH)/lib/asm-offsets.s
 
 # Default sed regexp - multiline due to syntax constraints
 define sed-y
-       "/^->/{s:->#\(.*\):/* \1 */:; \
+       "s:[[:space:]]*\.ascii[[:space:]]*\"\(.*\)\":\1:; \
+       /^->/{s:->#\(.*\):/* \1 */:; \
        s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
        s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
        s:->::; p;}"