aboutsummaryrefslogtreecommitdiff
path: root/pylibfdt/Makefile.pylibfdt
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2018-08-10 13:43:50 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-09-25 10:30:20 +1000
commit855b9963def9cccf1cd6a74a8bb784c44ce497f7 (patch)
tree712633d5259ca23594438ab839819c0f95a1316b /pylibfdt/Makefile.pylibfdt
parent47cafbeeb977a896387c06e0cedea30022b19100 (diff)
downloaddtc-855b9963def9cccf1cd6a74a8bb784c44ce497f7.zip
dtc-855b9963def9cccf1cd6a74a8bb784c44ce497f7.tar.gz
dtc-855b9963def9cccf1cd6a74a8bb784c44ce497f7.tar.bz2
pylibfdt: Simpler CFLAGS handling
At the moment we have some fiddly code to either pass in make's CPPFLAGS to setup.py, or have setup.py extract them from the Makefile. But really the only thing we need from here is the include paths. We already know what include paths we need (libfdt/) so we can just set that directly in setup.py. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'pylibfdt/Makefile.pylibfdt')
-rw-r--r--pylibfdt/Makefile.pylibfdt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
index 6b34b01..3c6ae44 100644
--- a/pylibfdt/Makefile.pylibfdt
+++ b/pylibfdt/Makefile.pylibfdt
@@ -5,7 +5,7 @@ PYLIBFDT_srcs = $(PYLIBFDT_srcdir)/libfdt.i
PYMODULE = $(PYLIBFDT_objdir)/_libfdt.so
define run_setup
- CPPFLAGS="$(CPPFLAGS)" VERSION="$(dtc_version)"
+ VERSION="$(dtc_version)"
$(PYLIBFDT_objdir)/setup.py --quiet $(1)
endef