cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5233 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -31,17 +31,19 @@ define Package/tmsnc
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default,--with-libiconv-prefix=$(STAGING_DIR)/usr \
|
||||
--with-openssl="$(STAGING_DIR)/usr" \
|
||||
--with-ncurses="$(STAGING_DIR)/usr" \
|
||||
--with-gnu-ld, ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes)
|
||||
$(call Build/Configure/Default, \
|
||||
--with-libiconv-prefix=$(STAGING_DIR)/usr \
|
||||
--with-openssl="$(STAGING_DIR)/usr" \
|
||||
--with-ncurses="$(STAGING_DIR)/usr" \
|
||||
--with-gnu-ld \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
install)
|
||||
install \
|
||||
)
|
||||
rm -rf $(PKG_INSTALL_DIR)/usr/man
|
||||
endef
|
||||
|
||||
|
Reference in New Issue
Block a user