summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2016-07-29 17:52:32 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2016-07-29 18:17:56 +0200
commit94f6c560eeeb61a95aa35c8cca55f11fbb7cd6db (patch)
tree94f326d77f11fdbda65ad816682c6c0bb41961af
parentf67c298916e8adf42e149dc6fdb53d7f2bdb03b1 (diff)
Added Makefile and restructured directory layoutHEADmaster
* Entering make top level should always do useful stuff * added board subdirectories to support different modules
-rw-r--r--Makefile17
-rw-r--r--README18
-rw-r--r--fex_files/A31-uQ7/3.3/1080p.fex (renamed from 3.3/1080p.fex)0
-rw-r--r--fex_files/A31-uQ7/3.3/720p.fex (renamed from 3.3/720p.fex)0
-rw-r--r--fex_files/A31-uQ7/3.3/displays/INNOLUX_AT070TNA2_V.1.fex (renamed from 3.3/displays/INNOLUX_AT070TNA2_V.1.fex)0
-rw-r--r--fex_files/A31-uQ7/3.3/displays/TOPWAY_LMT104SBH01-NNC.fex (renamed from 3.3/displays/TOPWAY_LMT104SBH01-NNC.fex)0
-rw-r--r--fex_files/A31-uQ7/3.4/720p.fex (renamed from 3.4/720p.fex)0
7 files changed, 19 insertions, 16 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..835411d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+FEX_SRC = $(shell find fex_files -name "*.fex")
+FEX_BIN = $(FEX_SRC:.fex=.bin)
+FEX_CC = tools/sunxi-fexc
+
+all: $(FEX_CC) $(FEX_BIN)
+
+.SUFFIXES: .fex
+
+$(FEX_CC):
+ $(MAKE) -C tools
+
+%.bin: %.fex
+ $(FEX_CC) $< $@
+
+clean:
+ $(MAKE) -C tools clean
+ $(RM) $(FEX_BIN)
diff --git a/README b/README
index 6db65d7..444dd68 100644
--- a/README
+++ b/README
@@ -1,16 +1,2 @@
-
-This repository contains the base fex files for the A31-uQ7 module (codename
-pangolin) and a source tree for the tools you need to convert them to binary.
-
-
-
-TOOLS
-
-Steps to build the tools:
-
-cd tools
-make
-
-The result will be 2 executable binaries named "fex2bin" and "bin2fex" which
-you can use for the conversion of fex files.
-
+This repository contains the base fex files for Allwinner based modules from
+Theobroma Systems and a compiler to convert them into binaries.
diff --git a/3.3/1080p.fex b/fex_files/A31-uQ7/3.3/1080p.fex
index 0460061..0460061 100644
--- a/3.3/1080p.fex
+++ b/fex_files/A31-uQ7/3.3/1080p.fex
diff --git a/3.3/720p.fex b/fex_files/A31-uQ7/3.3/720p.fex
index 487fc95..487fc95 100644
--- a/3.3/720p.fex
+++ b/fex_files/A31-uQ7/3.3/720p.fex
diff --git a/3.3/displays/INNOLUX_AT070TNA2_V.1.fex b/fex_files/A31-uQ7/3.3/displays/INNOLUX_AT070TNA2_V.1.fex
index c9a673e..c9a673e 100644
--- a/3.3/displays/INNOLUX_AT070TNA2_V.1.fex
+++ b/fex_files/A31-uQ7/3.3/displays/INNOLUX_AT070TNA2_V.1.fex
diff --git a/3.3/displays/TOPWAY_LMT104SBH01-NNC.fex b/fex_files/A31-uQ7/3.3/displays/TOPWAY_LMT104SBH01-NNC.fex
index 6dfff69..6dfff69 100644
--- a/3.3/displays/TOPWAY_LMT104SBH01-NNC.fex
+++ b/fex_files/A31-uQ7/3.3/displays/TOPWAY_LMT104SBH01-NNC.fex
diff --git a/3.4/720p.fex b/fex_files/A31-uQ7/3.4/720p.fex
index bded3d0..bded3d0 100644
--- a/3.4/720p.fex
+++ b/fex_files/A31-uQ7/3.4/720p.fex