summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile14
-rw-r--r--src/console.c3
2 files changed, 1 insertions, 16 deletions
diff --git a/src/Makefile b/src/Makefile
index badddc1..706f185 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,19 +2,7 @@ include ../config.mk
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE -I.
CFLAGS += -W -Wall -Wno-unused-parameter -Wno-unused-result -O2 -pedantic -std=c99
-LIBS += -lm
-ifdef WITH_USB
-CPPFLAGS += -DWITH_USB
-LIBS += -lusb
-endif
-
-ifdef WITH_DEVICE
-CPPFLAGS += -DWITH_DEVICE
-endif
-
-ifdef WITH_SQUEUES
-CPPFLAGS += -DWITH_SQUEUES
-endif
+LIBS += -lm -lusb
OBJS = main.o nolo.o printf-utils.o image.o fiasco.o device.o usb-device.o cold-flash.o dump.o qmode.o console.o squeue/squeue.o operations.o
BIN = 0xFFFF
diff --git a/src/console.c b/src/console.c
index 011b371..46dfe9e 100644
--- a/src/console.c
+++ b/src/console.c
@@ -17,8 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#if WITH_USB
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -178,4 +176,3 @@ int console_prompt(void)
return 0;
}
-#endif