summaryrefslogtreecommitdiff
path: root/packages/misc
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-03-03 20:45:50 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-03-03 20:45:50 +0100
commit213e3617934724e3b1deb539f1c3c1c2e494de93 (patch)
treede41b4f45fb6d8affe39968260bf037a821eea42 /packages/misc
parent0842d1f47dbcc3aec47794bd20385b4484933c6d (diff)
downloadembtoolkit-213e3617934724e3b1deb539f1c3c1c2e494de93.tar.gz
embtoolkit-213e3617934724e3b1deb539f1c3c1c2e494de93.tar.bz2
embtoolkit-213e3617934724e3b1deb539f1c3c1c2e494de93.tar.xz
Packages: improve the dummy foo package to take avantage of LIBDIR env
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'packages/misc')
-rw-r--r--packages/misc/foo/foo.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/misc/foo/foo.mk b/packages/misc/foo/foo.mk
index d5e8445..4fb8870 100644
--- a/packages/misc/foo/foo.mk
+++ b/packages/misc/foo/foo.mk
@@ -1,6 +1,6 @@
################################################################################
# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+# Copyright(C) 2009-2010 GAYE Abdoulaye Walsimou. All rights reserved.
#
# This program is free software; you can distribute it and/or modify it
# under the terms of the GNU General Public License
@@ -85,10 +85,6 @@ foo_clean:
$(Q)-cd $(SYSROOT)/usr/bin; rm -rf $(FOO_BINS)
$(Q)-cd $(SYSROOT)/usr/sbin; rm -rf $(FOO_SBINS)
$(Q)-cd $(SYSROOT)/usr/include; rm -rf $(FOO_INCLUDES)
- $(Q)-cd $(SYSROOT)/usr/lib; rm -rf $(FOO_LIBS)
- $(Q)-cd $(SYSROOT)/usr/lib/pkgconfig; rm -rf $(FOO_PKGCONFIGS)
-ifeq ($(CONFIG_EMBTK_64BITS_FS_COMPAT32),y)
- $(Q)-cd $(SYSROOT)/usr/lib32; rm -rf $(FOO_LIBS)
- $(Q)-cd $(SYSROOT)/usr/lib32/pkgconfig; rm -rf $(FOO_PKGCONFIGS)
-endif
+ $(Q)-cd $(SYSROOT)/usr/$(LIBDIR); rm -rf $(FOO_LIBS)
+ $(Q)-cd $(SYSROOT)/usr/$(LIBDIR)/pkgconfig; rm -rf $(FOO_PKGCONFIGS)