Skip to content

Commit

Permalink
Add package target for qemu-ics
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Griffin committed Apr 27, 2012
1 parent 1605fa0 commit 54224aa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,21 @@ package:
cp -R $(GAIA_PATH)/tests $(PKG_DIR)/gaia
cd $(PKG_DIR) && tar -czvf qemu_package.tar.gz qemu gaia

.PHONY: package-qemu-ics
package-qemu-ics:
rm -rf $(PKG_DIR)
mkdir -p $(PKG_DIR)/qemu/bin
mkdir -p $(PKG_DIR)/gaia
cp package-emu-ics.sh $(PKG_DIR)
cp $(GONK_PATH)/out/host/linux-x86/bin/emulator $(PKG_DIR)/qemu/bin
cp $(GONK_PATH)/out/host/linux-x86/bin/emulator-arm $(PKG_DIR)/qemu/bin
cp $(GONK_PATH)/out/host/linux-x86/bin/adb $(PKG_DIR)/qemu/bin
cp $(GONK_PATH)/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 $(PKG_DIR)/qemu
cp -R $(GONK_PATH)/development/tools/emulator/skins $(PKG_DIR)/qemu
cp -R $(GONK_PATH)/out/target/product/generic $(PKG_DIR)/qemu
cp -R $(GAIA_PATH)/tests $(PKG_DIR)/gaia
cd $(PKG_DIR) && tar -czvf qemu_package.tar.gz qemu gaia

UPDATE_PACKAGE_TARGET ?= b2g-gecko-update.mar
MAR ?= $(GECKO_OBJDIR)/dist/host/bin/mar
MAKE_FULL_UPDATE ?= $(GECKO_PATH)/tools/update-packaging/make_full_update.sh
Expand Down
13 changes: 13 additions & 0 deletions package-emu-ics.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

qemu/bin/emulator \
-kernel qemu/kernel-qemu-armv7 \
-sysdir qemu/generic/ \
-data qemu/generic/userdata.img \
-memory 512 \
-partition-size 512 \
-skindir qemu/skins \
-skin WVGA854 \
-verbose \
-qemu -cpu 'cortex-a8'

0 comments on commit 54224aa

Please sign in to comment.