summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-11-30 20:52:41 +1100
committerChris Johns <chrisj@rtems.org>2012-11-30 20:52:41 +1100
commit1788d6cdcf530688e1e928c93bb852bff3904394 (patch)
tree29340fe6854d92a8fd14525ea9b77b7e70c09b51
parentfc313fda72db4b7aa774e191244bf83427b0fec1 (diff)
Make the default embedded. ARGV in awk is not working.
-rw-r--r--mksyms.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mksyms.awk b/mksyms.awk
index 2f39767..d7c420c 100644
--- a/mksyms.awk
+++ b/mksyms.awk
@@ -63,10 +63,10 @@ BEGIN {
FS = "[ \t\n]";
OFS = " ";
started = 0
- embed = 0
+ embed = 1
for (a = 0; a < ARGC; ++a)
{
- if (ARGV[a] == "--embed")
+ if (ARGV[a] == "--no-embed")
{
embed = 1
delete ARGV[a];