diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-23 21:04:13 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-23 21:04:13 +0200 |
commit | a48b869d5c241a0d630b2e19f2014ea1f357d4f6 (patch) | |
tree | f70fdfe4471f1d93c7ccc427a044dfa5f86822e1 /mk | |
parent | 17509a067f5c4e616afb3f7d272817ae7cbbd209 (diff) |
add google g1 device support
- toolchain only
- add tar.gz package backend
- verified to work on device with a static linked mksh and eglibc
Diffstat (limited to 'mk')
-rw-r--r-- | mk/package.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/package.mk b/mk/package.mk index 6538eb004..9a4ade8eb 100644 --- a/mk/package.mk +++ b/mk/package.mk @@ -136,6 +136,7 @@ $$(IDIR_$(1))/CONTROL/control: ${_PATCH_COOKIE} @echo "Package: $(2)" > $(WRKDIR)/.$(2).control @echo "Section: $(6)" >> $(WRKDIR)/.$(2).control @echo "Description: $(5)" >> $(WRKDIR)/.$(2).control +ifeq ($(ADK_TARGET_PACKAGE_IPKG),y) ${BASH} ${SCRIPT_DIR}/make-ipkg-dir.sh $${IDIR_$(1)} $${ICONTROL_$(1)} $(3) ${CPU_ARCH} @adeps='$$(strip $${IDEPEND_$(1)})'; if [[ -n $$$$adeps ]]; then \ comma=; \ @@ -155,6 +156,7 @@ $$(IDIR_$(1))/CONTROL/control: ${_PATCH_COOKIE} @for file in conffiles preinst postinst prerm postrm; do \ [ ! -f ./files/$(2).$$$$file ] || cp ./files/$(2).$$$$file $$(IDIR_$(1))/CONTROL/$$$$file; \ done +endif $$(IPKG_$(1)): $$(IDIR_$(1))/CONTROL/control $${_FAKE_COOKIE} ifeq ($(ADK_DEBUG),) @@ -212,7 +214,12 @@ ifeq (,$(filter noscripts,$(7))) >>'$${STAGING_PARENT}/pkg/$(1)'; \ done endif +ifeq ($(ADK_TARGET_PACKAGE_IPKG),y) $${IPKG_BUILD} $${IDIR_$(1)} $${PACKAGE_DIR} $(MAKE_TRACE) +endif +ifeq ($(ADK_TARGET_PACKAGE_TGZ),y) + (cd $${IDIR_$(1)} && tar czf $(PACKAGE_DIR)/$(2)_$(3)_${CPU_ARCH}.tar.gz .); +endif clean-targets: clean-dev-$(1) |