GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / testrootfs / Makefile
blob2ddf3b7ab0e51d03c5abf64a18fe85941e5069e6
2 TOOLDIR=/tools/linux/local/hndtools-armeabi-linux-2009q3
3 PREFIX=arm-none-linux-gnueabi-
5 # TOOLDIR=/tools/linux/local/hndtools-arm-eabi-4.4.0
6 # PREFIX=arm-eabi-
8 export PATH:=$(TOOLDIR)/bin:$(PATH)
9 CC=$(PREFIX)gcc
10 LD=$(PREFIX)ld
11 # CFLAGS=-I/usr/include
12 CFLAGS+=-mcpu=cortex-a9
14 all: init
16 init: init.c
17 $(CC) -o $@ $< --static
19 # init: init.o
20 # $(LD) $(LDFLAGS) -o $@ $< --static -lc -lgcc
22 clean:
23 rm -f init init.o