summaryrefslogtreecommitdiffstats
path: root/package/rbcfg/src/Makefile
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-29 09:40:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-29 09:40:54 +0000
commit53952f8db0df35b91ddd1f25882fd73bdeea6833 (patch)
treed9a09ef9100a75ec19bc1bf10df5b31d51c13047 /package/rbcfg/src/Makefile
parent5c047f990648f8e77409e94910d20f747d9a47ab (diff)
package/rbcfg: new tool for modifying boot configuration on the RB4xx boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27315 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rbcfg/src/Makefile')
-rw-r--r--package/rbcfg/src/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/rbcfg/src/Makefile b/package/rbcfg/src/Makefile
new file mode 100644
index 000000000..62c74b267
--- /dev/null
+++ b/package/rbcfg/src/Makefile
@@ -0,0 +1,14 @@
+CC = gcc
+CFLAGS = -Wall
+OBJS = main.o cyg_crc32.o
+
+all: rbcfg
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+rbcfg: $(OBJS)
+ $(CC) -o $@ $(OBJS)
+
+clean:
+ rm -f rbcfg *.o