clean up tiff makefile and fix avr32 compile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12196 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
21b24711bf
commit
0184ad6b48
@ -18,8 +18,6 @@ PKG_FIXUP := libtool
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
CONFIGURE_ARGS_XTRA+=--without-x
|
|
||||||
|
|
||||||
define Package/libtiff
|
define Package/libtiff
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
@ -27,22 +25,8 @@ define Package/libtiff
|
|||||||
DEPENDS:=+zlib +libjpeg
|
DEPENDS:=+zlib +libjpeg
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
CONFIGURE_ARGS += --without-x
|
||||||
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
MAKE_FLAGS += all install DESTDIR=$(PKG_INSTALL_DIR)
|
||||||
if [ -x $(CONFIGURE_CMD) ]; then \
|
|
||||||
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
|
|
||||||
$(CONFIGURE_VARS) \
|
|
||||||
$(CONFIGURE_CMD) \
|
|
||||||
$(CONFIGURE_ARGS_XTRA) \
|
|
||||||
$(CONFIGURE_ARGS) ;\
|
|
||||||
fi \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/{lib,include}
|
$(INSTALL_DIR) $(1)/usr/{lib,include}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user