summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-11 20:48:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-11 20:48:08 +0100
commitd82534d3a6bfb048cc7bdc694654c15a975d7af6 (patch)
treef7faeeb8ce7c14d7c917c12f1fb2abfd014acd43 /mk
parent33af63cf3020e5cc086ee8b061897a4b47466d95 (diff)
do not build grub, enable ADK_HOST for allmodconfig/allconfig
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk11
1 files 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; \