From c7c079bfe8e840f450e1b89ab8512814a5a55ad7 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 5 Aug 2008 22:09:52 +0000 Subject: [PATCH] clean up ossp-js makefile and fix avr32 compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@12177 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/ossp-js/Makefile | 41 +++++++++-------------------------------- 1 file changed, 9 insertions(+), 32 deletions(-) diff --git a/libs/ossp-js/Makefile b/libs/ossp-js/Makefile index 3110c3d50..8a2602e42 100644 --- a/libs/ossp-js/Makefile +++ b/libs/ossp-js/Makefile @@ -42,6 +42,14 @@ $(call Package/js/Default) TITLE+= (library) endef +CONFIGURE_ARGS += \ + --enable-shared \ + --enable-static \ + --with-dso \ + --with-editline \ + --with-file \ + --without-perl + define Build/Configure (cd $(PKG_BUILD_DIR); rm -f config.cache; \ ./configure \ @@ -63,38 +71,7 @@ define Build/Configure --enable-static \ ); $(MAKE) -C $(PKG_BUILD_DIR) src/jsautocfg.h - (cd $(PKG_BUILD_DIR); rm -f config.cache; \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="$(TARGET_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - ./configure \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --program-prefix="" \ - --program-suffix="" \ - --prefix=/usr \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --includedir=/usr/include \ - --infodir=/usr/share/info \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --localstatedir=/var \ - --mandir=/usr/share/man \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc \ - $(DISABLE_NLS) \ - $(DISABLE_LARGEFILE) \ - --enable-shared \ - --enable-static \ - --with-dso \ - --with-editline \ - --with-file \ - --without-perl \ - ); + $(call Build/Configure/Default) endef define Build/Compile -- 2.11.0