diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-16 18:17:39 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-16 18:17:39 +0000 |
commit | 0a9af49e0b41dc66ce0bb0d583b0241a882f2700 (patch) | |
tree | bf52255998d07b980f0ef7aea862eaf456dbb3fc /package/lzma | |
parent | ceef40146f64415e3e046f724029b3e13544ecaf (diff) | |
download | buildroot-novena-0a9af49e0b41dc66ce0bb0d583b0241a882f2700.tar.gz buildroot-novena-0a9af49e0b41dc66ce0bb0d583b0241a882f2700.zip |
Ensure lzma is built *before* linux, allow system installation in /usr/local/bin
Diffstat (limited to 'package/lzma')
-rw-r--r-- | package/lzma/lzma.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk index 6e122eb30..ec876da75 100644 --- a/package/lzma/lzma.mk +++ b/package/lzma/lzma.mk @@ -48,11 +48,20 @@ $(STAGING_DIR)/bin/lzma: $(LZMA_HOST_DIR)/src/lzma/lzma $(STAGING_DIR)/lib/liblzmadec.la lzma-host: $(STAGING_DIR)/bin/lzma + lzma-host-clean: rm -f $(STAGING_DIR)/bin/lzma -$(MAKE) -C $(LZMA_HOST_DIR) clean lzma-host-dirclean: rm -rf $(LZMA_HOST_DIR) + +/usr/local/bin/lzma: lzma_host + sudo $(MAKE) DESTDIR=/usr/local -C $(LZMA_HOST_DIR) install + sudo $(SED) "s,^libdir=.*,libdir=\'/usr/local/lib\',g" \ + /usr/local/lib/liblzmadec.la + +lzma-host-install: /usr/local/bin/lzma + ###################################################################### # # lzma target |