diff options
author | Steffen Ritter <steffen.ritter@stz-bt.de> | 2010-11-04 14:23:32 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-04 14:42:59 +0100 |
commit | 1ca0c45409a3f0bd1c75b9201aca07644e11597b (patch) | |
tree | 98f2ace253a2e1b3ac0a272a8b24fc6e61333a03 /package/huawei/Makefile | |
parent | cb78e74dce8c998fe4075d998def392f03a25876 (diff) |
added huawei control utility
Signed-off-by: Steffen Ritter <steffen.ritter@stz-bt.de>
Diffstat (limited to 'package/huawei/Makefile')
-rw-r--r-- | package/huawei/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/huawei/Makefile b/package/huawei/Makefile new file mode 100644 index 000000000..603500a88 --- /dev/null +++ b/package/huawei/Makefile @@ -0,0 +1,33 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= huawei +PKG_VERSION:= 0.1 +PKG_RELEASE:= 1 +PKG_DESCR:= huawei modem control +PKG_SECTION:= utils +PKG_DEPENDS:= libusb +PKG_BUILDDEP+= libusb + +NO_DISTFILES:= 1 + + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,HUAWEI,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual +BUILD_STYLE:= manual +INSTALL_STYLE:= manual + +do-build: + ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} \ + -o ${WRKBUILD}/huawei ${WRKBUILD}/huawei.c -lusb + +do-install: + ${INSTALL_DIR} ${IDIR_HUAWEI}/sbin + ${INSTALL_BIN} ${WRKBUILD}/huawei ${IDIR_HUAWEI}/sbin + +include ${TOPDIR}/mk/pkg-bottom.mk |