浏览代码

Add PC Engines APU as a build target

Bob Mottram 8 年前
父节点
当前提交
fa555ce44b
共有 3 个文件被更改,包括 13 次插入1 次删除
  1. 2
    1
      README.md
  2. 二进制
      man/freedombone-image.1.gz
  3. 11
    0
      src/freedombone-image-makefile

+ 2
- 1
README.md 查看文件

@@ -53,7 +53,7 @@ To build a 64bit Qemu image:
53 53
 
54 54
     freedombone-image -t qemu-x86_64 -s 8G
55 55
 
56
-Other supported boards are cubieboard2, cubietruck, olinuxino-lime, olinuxino-lime2 and olinuxino-micro.
56
+Other supported boards are cubieboard2, cubietruck, olinuxino-lime, olinuxino-lime2, olinuxino-micro and PC Engines APU.
57 57
 
58 58
 If the image build fails with an error such as "/Error reading from server. Remote end closed connection/" then you can specify a debian package mirror repository manually with:
59 59
 
@@ -94,6 +94,7 @@ Currently the following boards are supported:
94 94
     Cubietruck (Cubieboard 3)
95 95
     olinuxino Lime2
96 96
     olinuxino Micro
97
+    PC Engines APU
97 98
 
98 99
 If there is no existing image available then you can build one from scratch. See the section above on how to do that. If an existing image is available then you can download it and check the signature with:
99 100
 

二进制
man/freedombone-image.1.gz 查看文件


+ 11
- 0
src/freedombone-image-makefile 查看文件

@@ -177,6 +177,17 @@ amd64: prep
177 177
 	$(SIGN)
178 178
 	@echo "Build complete."
179 179
 
180
+# build an PC Engines APU image
181
+apu: prep
182
+	$(eval ARCHITECTURE = amd64)
183
+	$(eval MACHINE = all)
184
+	$(MAKE_IMAGE)
185
+	@rm -f $(ARCHIVE)
186
+	$(XZ) $(IMAGE)
187
+	@echo ""
188
+	$(SIGN)
189
+	@echo "Build complete."
190
+
180 191
 # build a virtualbox image
181 192
 virtualbox: virtualbox-i386
182 193