From: Peter Foley <pefoley2@pefoley.com>
To: linux-kernel@vger.kernel.org, rdunlap@infradead.org,
linux-doc@vger.kernel.org
Cc: Peter Foley <pefoley2@pefoley.com>
Subject: [PATCH 2/2] [PATCH] Documentation: update vDSO makefile to build portable examples
Date: Mon, 8 Sep 2014 18:55:00 -0400 [thread overview]
Message-ID: <1410216900-22390-2-git-send-email-pefoley2@pefoley.com> (raw)
In-Reply-To: <1410216900-22390-1-git-send-email-pefoley2@pefoley.com>
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
---
Documentation/vDSO/Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
index 6cbd612..d87bb29 100644
--- a/Documentation/vDSO/Makefile
+++ b/Documentation/vDSO/Makefile
@@ -1,9 +1,12 @@
# List of programs to build
-hostprogs-$(CONFIG_X86) := vdso_test
+hostprogs-y := vdso_test
+hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
+vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
vdso_test-objs := parse_vdso.o vdso_test.o
# Tell kbuild to always build the programs
-##always := $(hostprogs-y)
+always := $(hostprogs-y)
HOSTCFLAGS := -I$(objtree)/usr/include -std=gnu99
-HOSTLDFLAGS = -nostdlib -fno-asynchronous-unwind-tables
+HOSTCFLAGS_vdso_standalone_test_x86.o := -fno-asynchronous-unwind-tables -fno-stack-protector
+HOSTLOADLIBES_vdso_standalone_test_x86 := -nostdlib
--
2.1.0
next prev parent reply other threads:[~2014-09-08 22:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 22:54 [PATCH 1/2] [PATCH] Documentation: update .gitignore files Peter Foley
2014-09-08 22:55 ` Peter Foley [this message]
2014-09-15 19:20 ` [PATCH 2/2] [PATCH] Documentation: update vDSO makefile to build portable examples Randy Dunlap
2014-09-15 19:20 ` [PATCH 1/2] [PATCH] Documentation: update .gitignore files Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1410216900-22390-2-git-send-email-pefoley2@pefoley.com \
--to=pefoley2@pefoley.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®