• R/O
  • SSH
  • HTTPS

avrdude: Commit


Commit MetaInfo

Revision1444 (tree)
Time2020-01-06 03:02:01
AuthorGottfried

Log Message

Make buildable for raspberry pi
cleanup unused defines

Change Summary

Incremental Difference

--- trunk/portable/linux-arm/config.h (revision 1443)
+++ trunk/portable/linux-arm/config.h (revision 1444)
@@ -3,4 +3,15 @@
33 // configuration for amd linux
44 // Raspberry Pi
55
6+#define HAVE_LIBFTDI 1
7+#define HAVE_LIBFTDI_TYPE_232H 1
8+#define HAVE_LINUX_SPI_SPIDEV_H 1
9+#define HAVE_SPIDEV 1
610
11+#undef HAVE_GETADDRINFO
12+#undef HAVE_LIBFTDI1
13+#undef HAVE_LIBHIDAPI
14+#undef HAVE_LIBWS2_32
15+#undef HAVE_NETINET_IN_H
16+#undef HAVE_PARPORT
17+
--- trunk/Makefile (revision 1443)
+++ trunk/Makefile (revision 1444)
@@ -94,7 +94,7 @@
9494
9595 LINK_OBJECTS = main.o
9696
97-all: printlibs depend ${TARGET} doc $(MAKE_WINDOWS_LOADDRV)
97+all: printlibs depend $(TARGET) $(MAKE_WINDOWS_LOADDRV)
9898
9999 .PHONY: windows doc .depend
100100
@@ -113,10 +113,14 @@
113113 ${LINK} ${LDFLAGS} -o $(TARGET)$(EXT) $^ ${LIBS}
114114
115115 clean:
116- rm -f *.o ${OBJ_FILES} $(FLEX_FILES) $(BISON_FILES) $(BISON_HEADERS) ${TARGET} *.output .depend *.exe
116+ rm -f *.o ${OBJ_FILES} $(FLEX_FILES) $(BISON_FILES) $(BISON_HEADERS) ${TARGET} *.output *.exe
117117 make -C doc clean
118118 make -C windows clean
119119
120+distclean:
121+ make clean
122+ rm -rf .depend
123+
120124 install : dirs \
121125 ${BINDIR}/${TARGET} \
122126 ${MANDIR}/${MANUAL} \
--- trunk/ac_cfg.h (revision 1443)
+++ trunk/ac_cfg.h (revision 1444)
@@ -2,12 +2,6 @@
22 /* Define to 1 if you have the <ddk/hidsdi.h> header file. */
33 /* #undef HAVE_DDK_HIDSDI_H */
44
5-/* Define to 1 if you have the <dlfcn.h> header file. */
6-#define HAVE_DLFCN_H 1
7-
8-/* Define to 1 if you have the <fcntl.h> header file. */
9-#define HAVE_FCNTL_H 1
10-
115 /* Define to 1 if you have the `getaddrinfo' function. */
126 #define HAVE_GETADDRINFO 1
137
@@ -14,9 +8,6 @@
148 /* Define to 1 if you have the `gettimeofday' function. */
159 #define HAVE_GETTIMEOFDAY 1
1610
17-/* Define to 1 if you have the <hidapi/hidapi.h> header file. */
18-#define HAVE_HIDAPI_HIDAPI_H 1
19-
2011 /* Define to 1 if you have the <inttypes.h> header file. */
2112 #define HAVE_INTTYPES_H 1
2213
@@ -44,15 +35,9 @@
4435 /* Define if HID support is enabled via libhidapi */
4536 #define HAVE_LIBHIDAPI 1
4637
47-/* Define to 1 if you have the `ncurses' library (-lncurses). */
48-#define HAVE_LIBNCURSES 1
49-
5038 /* Define to 1 if you have the `readline' library (-lreadline). */
5139 /* #undef HAVE_LIBREADLINE */
5240
53-/* Define to 1 if you have the `termcap' library (-ltermcap). */
54-/* #undef HAVE_LIBTERMCAP */
55-
5641 /* Define if USB support is enabled via libusb */
5742 #define HAVE_LIBUSB 1
5843
@@ -62,15 +47,9 @@
6247 /* Define to 1 if you have the <libusb-1.0/libusb.h> header file. */
6348 #define HAVE_LIBUSB_1_0_LIBUSB_H 1
6449
65-/* Define to 1 if you have the <libusb.h> header file. */
66-/* #undef HAVE_LIBUSB_H */
67-
6850 /* Define to 1 if you have the `ws2_32' library (-lws2_32). */
6951 #define HAVE_LIBWS2_32 1
7052
71-/* Define to 1 if you have the <limits.h> header file. */
72-#define HAVE_LIMITS_H 1
73-
7453 /* Linux sysfs GPIO support enabled */
7554 #define HAVE_LINUXGPIO 1
7655
@@ -77,12 +56,6 @@
7756 /* Define to 1 if you have the <lusb0_usb.h> header file. */
7857 /* #undef HAVE_LUSB0_USB_H */
7958
80-/* Define to 1 if you have the <memory.h> header file. */
81-#define HAVE_MEMORY_H 1
82-
83-/* Define to 1 if you have the `memset' function. */
84-#define HAVE_MEMSET 1
85-
8659 /* Define to 1 if you have the <netinet/in.h> header file. */
8760 #define HAVE_NETINET_IN_H 1
8861
@@ -92,54 +65,9 @@
9265 /* Define to 1 if you have the <pthread.h> header file. */
9366 #define HAVE_PTHREAD_H 1
9467
95-/* Define to 1 if you have the `select' function. */
96-#define HAVE_SELECT 1
97-
9868 /* Define to 1 if you have the <stdint.h> header file. */
9969 #define HAVE_STDINT_H 1
10070
101-/* Define to 1 if you have the <stdlib.h> header file. */
102-#define HAVE_STDLIB_H 1
103-
104-/* Define to 1 if you have the `strcasecmp' function. */
105-#define HAVE_STRCASECMP 1
106-
107-/* Define to 1 if you have the `strdup' function. */
108-#define HAVE_STRDUP 1
109-
110-/* Define to 1 if you have the `strerror' function. */
111-#define HAVE_STRERROR 1
112-
113-/* Define to 1 if you have the <strings.h> header file. */
114-#define HAVE_STRINGS_H 1
115-
116-/* Define to 1 if you have the <string.h> header file. */
117-#define HAVE_STRING_H 1
118-
119-/* Define to 1 if you have the `strncasecmp' function. */
120-#define HAVE_STRNCASECMP 1
121-
122-/* Define to 1 if you have the `strtol' function. */
123-#define HAVE_STRTOL 1
124-
125-/* Define to 1 if you have the `strtoul' function. */
126-#define HAVE_STRTOUL 1
127-
128-/* Define to 1 if you have the <sys/ioctl.h> header file. */
129-#define HAVE_SYS_IOCTL_H 1
130-
131-/* Define to 1 if you have the <sys/stat.h> header file. */
132-#define HAVE_SYS_STAT_H 1
133-
134-/* Define to 1 if you have the <sys/time.h> header file. */
135-#define HAVE_SYS_TIME_H 1
136-
137-/* Define to 1 if you have the <sys/types.h> header file. */
138-#define HAVE_SYS_TYPES_H 1
139-
140-/* Define to 1 if you have the <termios.h> header file. */
141-#define HAVE_TERMIOS_H 1
142-
14371 /* Define to 1 if the system has the type `uint_t'. */
14472 /* #undef HAVE_UINT_T */
14573
@@ -146,9 +74,6 @@
14674 /* Define to 1 if the system has the type `ulong_t'. */
14775 /* #undef HAVE_ULONG_T */
14876
149-/* Define to 1 if you have the <unistd.h> header file. */
150-#define HAVE_UNISTD_H 1
151-
15277 /* Define to 1 if you have the <usb.h> header file. */
15378 #define HAVE_USB_H 1
15479
@@ -158,36 +83,6 @@
15883 /* Define if lex/flex has yylex_destroy */
15984 #define HAVE_YYLEX_DESTROY 1
16085
161-/* Define to the sub-directory where libtool stores uninstalled libraries. */
162-#define LT_OBJDIR ".libs/"
163-
164-/* Name of package */
165-#define PACKAGE "avrdude"
166-
167-/* Define to the address where bug reports for this package should be sent. */
168-#define PACKAGE_BUGREPORT "avrdude-dev@nongnu.org"
169-
170-/* Define to the full name of this package. */
171-#define PACKAGE_NAME "avrdude"
172-
173-/* Define to the full name and version of this package. */
174-#define PACKAGE_STRING "avrdude 6.3-20171130"
175-
176-/* Define to the one symbol short name of this package. */
177-#define PACKAGE_TARNAME "avrdude"
178-
179-/* Define to the home page for this package. */
180-#define PACKAGE_URL ""
181-
182-/* Define to the version of this package. */
183-#define PACKAGE_VERSION "6.3-20171130"
184-
185-/* Define to 1 if you have the ANSI C header files. */
186-#define STDC_HEADERS 1
187-
188-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
189-#define TIME_WITH_SYS_TIME 1
190-
19186 /* Version number of package */
19287 #define VERSION "6.3-20171130"
19388
@@ -195,5 +90,3 @@
19590 `char[]'. */
19691 #define YYTEXT_POINTER 1
19792
198-/* Define to empty if `const' does not conform to ANSI C. */
199-/* #undef const */
Show on old repository browser