$(error No BFD translation for $(ARCH) in Externals/common.mk)
endif
-PREFIX=$(ACESSDIR)/Externals/Output/common
-EPREFIX=$(ACESSDIR)/Externals/Output/$(ARCH)
-SYSROOT=$(ACESSDIR)/Externals/Output/sysroot-$(ARCH)
+#PREFIX=$(ACESSDIR)/Externals/Output
+#EPREFIX=$(ACESSDIR)/Externals/Output/$(BFD)
+PREFIX=$(ACESSDIR)/Externals/Output/$(ARCH)
+EPREFIX=$(PREFIX)
+SYSROOT=$(ACESSDIR)/Externals/Output/sysroot-$(BFD)
HOST=$(BFD)-acess_proxy-elf
#
endif
SDIR := ../$(DIR)
-CONFIGURE_LINE ?= ./configure --host=$(HOST) --prefx=$(PREFIX) --eprefix=$(EPREFIX) $(CONFIGURE_ARGS)
+CONFIGURE_LINE ?= $(SDIR)/configure --host=$(HOST) --prefix=$(PREFIX) --exec-prefix=$(EPREFIX) $(CONFIGURE_ARGS)
.PHONY: all clean install _patch _build
+install: all
+ cd $(BDIR) && make $(ITARGETS)
+
all: $(DIR) _patch _build
clean:
rm -rf $(DIR) $(BDIR)
-install: all
- cd $(BDIR) && make $(ITARGETS)
-
$(DIR): $(ARCHIVE)
tar -xf $(ARCHIVE)
#
DEPS := zlib
-TARBALL_PATTERN := dropbear-*.tar.gz
-TARBALL_TO_DIR_L := %.tar.gz
+TARBALL_PATTERN := dropbear-*.tar.bz2
+TARBALL_TO_DIR_L := %.tar.bz2
TARBALL_TO_DIR_R := %
PATCHES := options.h
-CONFIGURE_ARGS = --with-zlib=../../Output/$(ARCH) --disable-utmp --disable-wtmp --disable-lastlog
+CONFIGURE_ARGS = --with-zlib=$(PREFIX) --disable-utmp --disable-wtmp --disable-lastlog
+BTARGETS = dbclient
+ITARGETS = inst_dbclient
include ../common.mk