[packages] upx: define UCL_NO_ASM to fix build on x86 (ucl is built with --disable-asm), add missing dependencies, cleanup

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20107 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-03-09 21:23:39 +00:00
parent 64685f8823
commit 64a600a6c4

View File

@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/upx define Package/upx
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
DEPENDS:=+libucl DEPENDS:=+libucl +libstdcpp +zlib
TITLE:=The Ultimate Packer for eXecutables TITLE:=The Ultimate Packer for eXecutables
URL:=http://upx.sourceforge.net/ URL:=http://upx.sourceforge.net/
endef endef
@ -35,15 +35,12 @@ or other drawbacks for most of the formats supported, because of in-place
decompression. decompression.
endef endef
MAKE_PATH := src
MAKE_VARS += \ MAKE_VARS += \
UPX_UCLDIR="$(STAGING_DIR)/usr/include/ucl" \
exeext="" exeext=""
define Build/Compile TARGET_CPPFLAGS += \
$(call Build/Compile/Default, \ -DUCL_NO_ASM \
all \
)
endef
define Package/upx/install define Package/upx/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin