diff options
author | Peter Korsgaard | 2008-10-20 13:32:22 +0200 |
---|---|---|
committer | Peter Korsgaard | 2008-10-20 13:32:22 +0200 |
commit | fedf24cf51f39922ce2d9ebf478a4a83477c789f (patch) | |
tree | 7dacbef8ad2a157b6d74e387b7412451fece7163 /package/Makefile.autotools.in | |
parent | x11r7/libXft: use install-strip for target install (diff) | |
download | buildroot-fedf24cf51f39922ce2d9ebf478a4a83477c789f.tar.gz buildroot-fedf24cf51f39922ce2d9ebf478a4a83477c789f.tar.xz buildroot-fedf24cf51f39922ce2d9ebf478a4a83477c789f.zip |
Makefile.autotools.in: default to install-strip for non-debug target install
Diffstat (limited to 'package/Makefile.autotools.in')
-rw-r--r-- | package/Makefile.autotools.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 076006300..0925feb06 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -47,7 +47,7 @@ # install the package to the target directory # FOO_INSTALL_STAGING_OPT [default DESTDIR=$(STAGING_DIR) install] # arguments passed to <make> while installing to the staging directory -# FOO_INSTALL_TARGET_OPT [default DESTDIR=$(TARGET_DIR) install-exec] +# FOO_INSTALL_TARGET_OPT [default DESTDIR=$(TARGET_DIR) install-exec/install-strip] # arguments passed to <make> while installing to the target directory # FOO_CLEAN_OPT [default clean] # arguments passed to <make> while installing to the staging directory @@ -308,7 +308,11 @@ $(2)_MAKE_OPT ?= $(2)_INSTALL_STAGING ?= NO $(2)_INSTALL_TARGET ?= YES $(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install +ifeq ($(BR2_ENABLE_DEBUG),y) $(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-exec +else +$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-strip +endif $(2)_CLEAN_OPT ?= clean $(2)_UNINSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) uninstall $(2)_UNINSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) uninstall |