summaryrefslogtreecommitdiff
path: root/futility
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-01-17 15:28:17 -0800
committerChromeBot <chrome-bot@google.com>2013-01-22 15:10:40 -0800
commiteecc18fc953bd367d3cb5aa006df4b153d20a45e (patch)
treef36487016eadcac4024ed77fe2c43368aa2826b3 /futility
parent57cdad33d6f07227f93bbc35f167d60e58b83d8b (diff)
downloadvboot-eecc18fc953bd367d3cb5aa006df4b153d20a45e.tar.gz
Complete refactoring of Makefile
Cleaning up the Makefile to add correct dependencies, avoid using variables before they're fully defined (which required .SECONDEXPANSION to work around), generally improve readability. There are so many changes that there's no point in trying to compare old vs new - just look at the final result. And this still isn't perfect, but it's a big step forward. BUG=chromium-os:37062 BRANCH=none TEST=manual All these should continue to work: make && make runtests sudo emerge vboot_reference emerge-$BOARD vboot_reference Change-Id: Ic05a19231155d7e6427732e41d1682012d2dcdca Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/41768 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'futility')
-rw-r--r--futility/IGNOREME.c12
-rw-r--r--futility/futility.lds7
2 files changed, 19 insertions, 0 deletions
diff --git a/futility/IGNOREME.c b/futility/IGNOREME.c
new file mode 100644
index 00000000..c90c87e5
--- /dev/null
+++ b/futility/IGNOREME.c
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ printf("Pay no attention to that man behind the curtain.\n");
+ return 1;
+}
diff --git a/futility/futility.lds b/futility/futility.lds
new file mode 100644
index 00000000..e428ddca
--- /dev/null
+++ b/futility/futility.lds
@@ -0,0 +1,7 @@
+/*
+ * Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Nothing to see here. Move along... */