From 2f89e0f23e67aae593d71c099a16c3b36bb406ce Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 20 Aug 2016 16:25:16 +1000 Subject: upx: restyle indents and quoting --- src/upx.mk | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/src/upx.mk b/src/upx.mk index dba07d2..0278308 100644 --- a/src/upx.mk +++ b/src/upx.mk @@ -22,16 +22,17 @@ define $(PKG)_BUILD $(call PREPARE_PKG_SOURCE,ucl,$(1)) mkdir '$(1)/lzma' $(call PREPARE_PKG_SOURCE,lzma,$(1)/lzma) + UPX_UCLDIR='$(1)/$(ucl_SUBDIR)' \ - UPX_LZMADIR='$(1)/lzma' \ - UPX_LZMA_VERSION=0x$(subst .,,$(lzma_VERSION)) \ - $(MAKE) -C '$(1)' -j '$(JOBS)' all \ - 'CXX=$(TARGET)-g++' \ - 'CC=$(TARGET)-gcc' \ - 'LD=$(TARGET)-ld' \ - 'AR=$(TARGET)-ar' \ - 'PKG_CONFIG=$(TARGET)-pkg-config' \ - 'exeext=.exe' + UPX_LZMADIR='$(1)/lzma' \ + UPX_LZMA_VERSION=0x$(subst .,,$(lzma_VERSION)) \ + $(MAKE) -C '$(1)' -j '$(JOBS)' all \ + CXX='$(TARGET)-g++' \ + CC='$(TARGET)-gcc' \ + LD='$(TARGET)-ld' \ + AR='$(TARGET)-ar' \ + PKG_CONFIG='$(TARGET)-pkg-config' \ + exeext='.exe' cp '$(1)/src/upx.exe' '$(PREFIX)/$(TARGET)/bin/' endef @@ -39,15 +40,16 @@ define $(PKG)_BUILD_$(BUILD) $(call PREPARE_PKG_SOURCE,ucl,$(1)) mkdir '$(1)/lzma' $(call PREPARE_PKG_SOURCE,lzma,$(1)/lzma) + UPX_UCLDIR='$(1)/$(ucl_SUBDIR)' \ - UPX_LZMADIR='$(1)/lzma' \ - UPX_LZMA_VERSION=0x$(subst .,,$(lzma_VERSION)) \ - $(MAKE) -C '$(1)' -j '$(JOBS)' all \ - 'CXX=$(BUILD_CXX)' \ - 'CC=$(BUILD_CC)' \ - 'PKG_CONFIG=$(PREFIX)/$(BUILD)/bin/pkgconf' \ - 'LIBS=-L$(PREFIX)/$(BUILD)/lib -lucl -lz' \ - 'CXXFLAGS_WERROR=' \ - 'exeext=' + UPX_LZMADIR='$(1)/lzma' \ + UPX_LZMA_VERSION=0x$(subst .,,$(lzma_VERSION)) \ + $(MAKE) -C '$(1)' -j '$(JOBS)' all \ + CXX='$(BUILD_CXX)' \ + CC='$(BUILD_CC)' \ + PKG_CONFIG='$(PREFIX)/$(BUILD)/bin/pkgconf' \ + LIBS='-L$(PREFIX)/$(BUILD)/lib -lucl -lz' \ + CXXFLAGS_WERROR= \ + exeext= cp '$(1)/src/upx' '$(PREFIX)/$(BUILD)/bin/' endef -- cgit v0.12