aboutsummaryrefslogtreecommitdiff
path: root/package/sawman/sawman.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-10-20 11:53:16 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-10-20 11:53:16 +0000
commite337d002fe4f258897f9d7ac5292e243b88b4cfd (patch)
treefb40c9c695fa7cf5e018b5174dcc201539cd61ef /package/sawman/sawman.mk
parentfc7bf9e3254aec9325a2bbf26d0aece41d434855 (diff)
downloadbuildroot-e337d002fe4f258897f9d7ac5292e243b88b4cfd.tar.gz
buildroot-e337d002fe4f258897f9d7ac5292e243b88b4cfd.tar.bz2
package/: remove redundant install-strip in *_TARGET_INSTALL_OPT
It's default now.
Diffstat (limited to 'package/sawman/sawman.mk')
-rw-r--r--package/sawman/sawman.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/sawman/sawman.mk b/package/sawman/sawman.mk
index 4956878207..c2d4b7a801 100644
--- a/package/sawman/sawman.mk
+++ b/package/sawman/sawman.mk
@@ -9,7 +9,11 @@ SAWMAN_SITE:=http://www.directfb.org/downloads/Extras
SAWMAN_INSTALL_STAGING = YES
SAWMAN_INSTALL_TARGET = YES
SAWMAN_CONF_ENV = LDFLAGS="-L$(STAGING_DIR)/usr/lib -Wl,--rpath-link -Wl,$(STAGING_DIR)/usr/lib"
+ifeq ($(BR2_ENABLE_DEBUG),y)
+SAWMAN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
+else
SAWMAN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install-strip
+endif
SAWMAN_DEPENDENCIES = directfb
$(eval $(call AUTOTARGETS,package,sawman))