summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-18 09:37:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-18 09:37:21 +0100
commita8b9141be698673a507c7d97c32911a739841375 (patch)
tree19d1530bc6e538efe1d2fe9c25bba6186d6cd147
parenta2ba45bfccc6f7523e4a9c2ed88a7ec79302a7d0 (diff)
parentd59d6236342369fb1d2ac05f24b489c84db8b8a5 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--mk/image.mk4
-rw-r--r--package/sane-backends/Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/mk/image.mk b/mk/image.mk
index bbe9d47ac..ff95c5cb0 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -224,8 +224,8 @@ ifeq ($(ADK_KERNEL_COMP_BZIP2),y)
echo "CONFIG_INITRAMFS_COMPRESSION_BZIP2=y" >> ${LINUX_DIR}/.config
endif
@-rm $(LINUX_DIR)/usr/initramfs_data.cpio* 2>/dev/null
- $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
- ARCH=$(ARCH) CC="$(TARGET_CC)" -j${ADK_MAKE_JOBS} $(ADK_TARGET_KERNEL) $(MAKE_TRACE)
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \
+ -j${ADK_MAKE_JOBS} $(ADK_TARGET_KERNEL) $(MAKE_TRACE)
${FW_DIR}/${ROOTFSISO}: ${TARGET_DIR} kernel-package
mkdir -p ${TARGET_DIR}/boot/syslinux
diff --git a/package/sane-backends/Makefile b/package/sane-backends/Makefile
index 4bad787ef..52c36bf0c 100644
--- a/package/sane-backends/Makefile
+++ b/package/sane-backends/Makefile
@@ -5,12 +5,12 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= sane-backends
PKG_VERSION:= 1.0.22
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= fadf56a60f4776bfb24491f66b617cf5
PKG_DESCR:= Scanner access now easy
PKG_SECTION:= misc
PKG_DEPENDS:= libpthread
-PKG_BUILDDEP:= libpthread libusb
+PKG_BUILDDEP:= libpthread libusb libusb-compat
PKG_URL:= http://www.sane-project.org/
PKG_SITES:= ftp://ftp2.sane-project.org/pub/sane/${PKG_NAME}-${PKG_VERSION}/
PKG_MULTI:= 1
@@ -165,6 +165,7 @@ $(eval $(call PKG_mod_template,SANE_BACKEND_UMAX1220U,umax1220u))
$(eval $(call PKG_mod_template,SANE_BACKEND_UMAX_PP,umax_pp))
$(eval $(call PKG_mod_template,SANE_BACKEND_UMAX,umax))
+TARGET_CFLAGS+= -D_GNU_SOURCE
CONFIGURE_ENV+= ac_cv_func_ioperm=no have_libv4l1=no
CONFIGURE_ARGS+= --disable-translations \
--without-gphoto2 \