flasher: use nanddump to avoid dep on mtdblock
[pandora-misc.git] / Makefile
index f5a8fe4..7a9692a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ clean:
        $(RM) *.o $(BIN)
 
 op_runfbapp: LDFLAGS += -lpthread -lX11
-op_test_inputs: LDFLAGS += -lts
+op_test_inputs: LDFLAGS += -lpthread -lts
 
 $(INSTALL):
        mkdir -p $(INSTALL)
@@ -25,3 +25,6 @@ install: $(INSTALL) $(BIN)
        cp ofbset $(INSTALL)/
        cp scripts/op_gammatool $(INSTALL)/
        cp scripts/op_test_inputs $(INSTALL)/
+
+vld:
+       $(CC) -Wall -O2 -DVALIDATION -s op_test_inputs.c -o op_test_inputs -Wl,-Bstatic -lpthread -lc -Wl,-Bdynamic -lts