2015-01-10 11:58:36 +01:00
|
|
|
From 65754effe16506a7a0a04069c8b6e1281811604d Mon Sep 17 00:00:00 2001
|
|
|
|
From: Samuel Martin <s.martin49@gmail.com>
|
|
|
|
Date: Sat, 10 Jan 2015 11:54:10 +0100
|
|
|
|
Subject: [PATCH newt 1/2] Use $(CC) instead of $(CPP) to generate .depend
|
|
|
|
files
|
2012-10-11 11:46:39 +02:00
|
|
|
|
2015-01-10 11:58:36 +01:00
|
|
|
Use $(CC) instead of $(CPP) to generate .depend file because '$(CPP)
|
|
|
|
-M' call does not support multiple input files. This avoid the
|
|
|
|
following error:
|
2012-10-11 11:46:39 +02:00
|
|
|
|
|
|
|
make[1]: Entering directory `/opt/br/output/build/newt-0.51.0'
|
|
|
|
/opt/br/output/host/usr/bin/arm-none-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -M newt.c button.c form.c checkbox.c entry.c label.c listbox.c scrollbar.c textbox.c scale.c grid.c windows.c buttonbar.c checkboxtree.c > .depend
|
|
|
|
arm-none-linux-gnueabi-cpp: too many input files
|
|
|
|
make[1]: *** [depend] Error 1
|
|
|
|
|
|
|
|
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
2014-03-18 10:10:17 +01:00
|
|
|
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
2015-01-10 11:58:36 +01:00
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
2012-10-11 11:46:39 +02:00
|
|
|
---
|
2015-01-10 11:58:36 +01:00
|
|
|
Makefile.in | 2 +-
|
2014-03-18 10:10:17 +01:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2015-01-10 11:58:36 +01:00
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
|
|
index 7989203..17853e0 100644
|
2014-03-18 10:10:17 +01:00
|
|
|
--- a/Makefile.in
|
|
|
|
+++ b/Makefile.in
|
2015-01-10 11:58:36 +01:00
|
|
|
@@ -121,7 +121,7 @@ clean:
|
2014-03-18 10:10:17 +01:00
|
|
|
$(SHAREDDIR)/*.o *.$(SOEXT)*
|
2012-10-11 11:46:39 +02:00
|
|
|
|
|
|
|
depend:
|
2014-03-18 10:10:17 +01:00
|
|
|
- $(CPP) $(CFLAGS) $(CPPFLAGS) -M $(SOURCES) > .depend
|
|
|
|
+ $(CC) $(CFLAGS) $(CPPFLAGS) -M $(SOURCES) > .depend
|
2012-10-11 11:46:39 +02:00
|
|
|
|
|
|
|
$(SHAREDDIR):
|
|
|
|
mkdir -p $(SHAREDDIR)
|
2015-01-10 11:58:36 +01:00
|
|
|
--
|
|
|
|
2.1.0
|
|
|
|
|