summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: fc7524bcd786b6ad768f0dd1154f0c62b4e2f334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: clean run sync test

SOURCE := \
	compatible_devices.c \
	devmem2.c \
	exynos4412_gpios.c  \
	exynos4412_gpios_data.c \
	main.c \
	memory_devmem2.c \
	modem_gpios_data.c \
	tests.c \

test: exynos-gpio-tool
	./$< test

exynos-gpio-tool: $(SOURCE)
	$(CC) -Wall -static $(CFLAGS) $^ -o $@

clean:
	rm -f exynos-gpio-tool

sync: clean
	rsync -av $$PWD u-boot-i9300-local: