From d82534d3a6bfb048cc7bdc694654c15a975d7af6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Dec 2009 20:48:08 +0100 Subject: do not build grub, enable ADK_HOST for allmodconfig/allconfig --- mk/build.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mk/build.mk b/mk/build.mk index 2d1d4e035..31eb683e0 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -14,6 +14,7 @@ DEFCONFIG= ADK_DEVELSYSTEM=n \ ADK_DEBUG=n \ ADK_STATIC=n \ ADK_FORCE_PARALLEL=n \ + ADK_PACKAGE_GRUB=n \ BUSYBOX_SELINUX=n \ BUSYBOX_MODPROBE_SMALL=n \ BUSYBOX_EJECT=n \ @@ -248,14 +249,20 @@ endif ifneq (,$(filter rb%,${TARGET})) @echo ADK_LINUX_MIKROTIK=y >> $(TOPDIR)/.defconfig endif - @$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN) + @$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN) >/dev/null modconfig: +ifeq (${OStype},Linux) + @echo ADK_HOST_LINUX=y > $(TOPDIR)/all.config +endif +ifeq (${OStype},FreeBSD) + @echo ADK_HOST_FREEBSD=y > $(TOPDIR)/all.config +endif @if [ ! -z "$(TARGET)" ];then \ grep "^config" target/Config.in \ |grep -i "$(TARGET)" \ |sed -e "s#^config \(.*\)#\1=y#" \ - > $(TOPDIR)/all.config; \ + >> $(TOPDIR)/all.config; \ for symbol in ${DEFCONFIG}; do \ echo $$symbol >> $(TOPDIR)/all.config; \ done; \ -- cgit v1.2.3