All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Wood <thomas.wood@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t 2/2] tools/Android.mk: add any extra program sources
Date: Thu, 16 Jul 2015 12:07:33 +0100	[thread overview]
Message-ID: <1437044853-7940-3-git-send-email-thomas.wood@intel.com> (raw)
In-Reply-To: <1437044853-7940-1-git-send-email-thomas.wood@intel.com>

Cc: Derek Morton <derek.j.morton@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 tools/Android.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/Android.mk b/tools/Android.mk
index 39f4512..f7dc3bb 100644
--- a/tools/Android.mk
+++ b/tools/Android.mk
@@ -1,13 +1,13 @@
 LOCAL_PATH := $(call my-dir)
 
-include $(LOCAL_PATH)/Makefile.sources
+include ./$(LOCAL_PATH)/Makefile.sources
 
 #================#
 
 define add_tool
     include $(CLEAR_VARS)
 
-    LOCAL_SRC_FILES := $1.c
+    LOCAL_SRC_FILES := $1.c $($(1)_SOURCES)
 
     LOCAL_CFLAGS += -DHAVE_TERMIOS_H
     LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM
-- 
2.4.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2015-07-16 11:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 14:49 [PATCH i-g-t v2] Android.mk: Disable tools that do not build for android Derek Morton
2015-06-15 15:30 ` Jani Nikula
2015-06-16 10:04   ` Morton, Derek J
2015-07-16  8:44     ` Morton, Derek J
2015-07-16 11:07       ` [PATCH i-g-t 0/2] Enabling intel_reg on Android Thomas Wood
2015-07-16 11:07         ` [PATCH i-g-t 1/2] intel_reg: support platforms without sys/io.h Thomas Wood
2015-07-16 11:07         ` Thomas Wood [this message]
2015-07-16 14:13           ` [PATCH i-g-t 2/2] tools/Android.mk: add any extra program sources Morton, Derek J
2015-07-16 15:23             ` Thomas Wood

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=1437044853-7940-3-git-send-email-thomas.wood@intel.com \
    --to=thomas.wood@intel.com \
    --cc=intel-gfx@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.