summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-18 11:04:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-18 11:04:10 +0200
commit3ec8f60098663d824db8ae45cd02240b5df55d1f (patch)
treea1e1a550841c70c57bcaa6f72837650d66782954 /mk
parentcb11a40075cb65aec0a73f98751aa4879ab73719 (diff)
parent66a6c153d5db95eb0f35861269a7f5459f387e55 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk')
-rw-r--r--mk/pkg-bottom.mk2
-rw-r--r--mk/rootfs.mk8
-rw-r--r--mk/vars.mk6
3 files changed, 14 insertions, 2 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 0735a8c14..954539764 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -82,11 +82,11 @@ else ifeq ($(strip ${CONFIG_STYLE}),)
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sysconfdir=/etc \
- --disable-nls \
--enable-shared \
--enable-static \
--disable-dependency-tracking \
--disable-libtool-lock \
+ $(NLS) \
${CONFIGURE_ARGS} $(MAKE_TRACE)
else
@echo "Invalid CONFIG_STYLE '${CONFIG_STYLE}'" >&2
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index 2da69d017..241a237fa 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -25,9 +25,15 @@ ifeq ($(ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20),y)
ROOTFS:= root=/dev/mmcblk0p2 rootwait
endif
+ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
+USB:= rootwait
+else
+USB:= rootdelay=2
+endif
+
$(eval $(call rootfs_template,cf,CF,$(ROOTFS)))
$(eval $(call rootfs_template,mmc,MMC,$(ROOTFS)))
-$(eval $(call rootfs_template,usb,USB,rootwait))
+$(eval $(call rootfs_template,usb,USB,$(USB)))
$(eval $(call rootfs_template,archive,ARCHIVE,$(ROOTFS)))
$(eval $(call rootfs_template,initramfs,INITRAMFS))
$(eval $(call rootfs_template,initramfs-piggyback,INITRAMFS_PIGGYBACK))
diff --git a/mk/vars.mk b/mk/vars.mk
index bb66a5e32..5dc08a7a9 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -209,4 +209,10 @@ ifeq ($(ADK_HOST_CYGWIN),y)
EXEEXT:= .exe
endif
+ifeq ($(ADK_LOCALES),y)
+NLS:= --enable-nls
+else
+NLS:= --disable-nls
+endif
+
include $(TOPDIR)/mk/mirrors.mk