diff options
Diffstat (limited to 'target/linux/at91/image/u-boot/ubclient/Makefile')
-rw-r--r-- | target/linux/at91/image/u-boot/ubclient/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/at91/image/u-boot/ubclient/Makefile b/target/linux/at91/image/u-boot/ubclient/Makefile new file mode 100644 index 0000000..f8ff67c --- /dev/null +++ b/target/linux/at91/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) -DLAN_IP=$(LAN_IP) -DLAN_SERVERIP=$(LAN_SERVERIP) -c -o $@ $^ + +ubpar: ubpar.o crc32.o + $(CC) -o $@ $^ + +clean: + rm -f *.o ubpar |