summaryrefslogtreecommitdiff
path: root/target/linux/at91-2.6/image/u-boot/ubclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/at91-2.6/image/u-boot/ubclient/Makefile')
-rw-r--r--target/linux/at91-2.6/image/u-boot/ubclient/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/image/u-boot/ubclient/Makefile b/target/linux/at91-2.6/image/u-boot/ubclient/Makefile
new file mode 100644
index 0000000000..c79260e450
--- /dev/null
+++ b/target/linux/at91-2.6/image/u-boot/ubclient/Makefile
@@ -0,0 +1,15 @@
+#
+
+all: ubpar
+
+crc32.c:
+ ln -s ../lib_generic/crc32.c ./
+
+%.o: %.c
+ $(CC) -I ../include $(CFLAGS) $(EXTRA_FLAGS) -c -o $@ $^
+
+ubpar: ubpar.o crc32.o
+ $(CC) -o $@ $^
+
+clean:
+ rm -f *.o ubpar