diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-01-14 21:40:03 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-01-14 21:40:03 +0100 |
commit | 2de9b596866882a87888f0a9363cb08dec288870 (patch) | |
tree | 837dd822c31a1ed660e14fa0092d664a01847b0a /packages/misc/tslib | |
parent | 7030661aa5a5a31daa095a15cdb48bba880a66cb (diff) | |
download | embtoolkit-2de9b596866882a87888f0a9363cb08dec288870.tar.gz embtoolkit-2de9b596866882a87888f0a9363cb08dec288870.tar.bz2 embtoolkit-2de9b596866882a87888f0a9363cb08dec288870.tar.xz |
Packages: tslib: use decompress macro
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages/misc/tslib')
-rw-r--r-- | packages/misc/tslib/tslib.kconfig | 5 | ||||
-rw-r--r-- | packages/misc/tslib/tslib.mk | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/packages/misc/tslib/tslib.kconfig b/packages/misc/tslib/tslib.kconfig index 4460fe5..d4092ae 100644 --- a/packages/misc/tslib/tslib.kconfig +++ b/packages/misc/tslib/tslib.kconfig @@ -37,6 +37,7 @@ choice bool "tslib-1.0" select EMBTK_TSLIB_NEED_PATCH select EMBTK_TSLIB_NEED_AUTORECONF + select EMBTK_TSLIB_PKG_IS_TARBZ2 endchoice config EMBTK_TSLIB_VERSION_STRING @@ -47,3 +48,7 @@ config EMBTK_TSLIB_NEED_PATCH bool config EMBTK_TSLIB_NEED_AUTORECONF bool +config EMBTK_TSLIB_PKG_IS_TARGZ + bool +config EMBTK_TSLIB_PKG_IS_TARBZ2 + bool diff --git a/packages/misc/tslib/tslib.mk b/packages/misc/tslib/tslib.mk index cf2145a..bb33b71 100644 --- a/packages/misc/tslib/tslib.mk +++ b/packages/misc/tslib/tslib.mk @@ -59,13 +59,7 @@ download_tslib: $(call EMBTK_DOWNLOAD_PKG,TSLIB) $(TSLIB_BUILD_DIR)/.decompressed: - $(call EMBTK_GENERIC_MESSAGE,"Decompressing $(TSLIB_PACKAGE) ...") - @tar -C $(PACKAGES_BUILD) -xjf $(DOWNLOAD_DIR)/$(TSLIB_PACKAGE) -ifeq ($(CONFIG_EMBTK_TSLIB_NEED_PATCH),y) - @cd $(TSLIB_BUILD_DIR); \ - patch -p1 < $(DOWNLOAD_DIR)/tslib-$(TSLIB_VERSION).patch -endif - @touch $@ + $(call EMBTK_DECOMPRESS_PKG,TSLIB) $(TSLIB_BUILD_DIR)/.configured: $(call EMBTK_CONFIGURE_PKG,TSLIB) |