[OpenWrt-Devel] [PATCH] Kernel is downloaded although Advanced configuration options (for developers) - Use external kernel tree is selected.

2009-12-10 Thread Erdem Ergen
This patch fixes/prevents unnecessary download of Linux kernel if
Advanced configuration options (for developers) - Use external kernel
tree is selected.

 

As you know, there is an option Advanced configuration options (for
developers) - Use external kernel tree, and if we select and type the
directory of special kernel it uses this kernel. This configuration does
not require downloading kernel, but it does. So that patch prevents
unnecessary download of kernel.

 

Signed-off-by: Erdem Ergen eer...@ubicom.com 

 

diff --git a/include/host-build.mk b/include/host-build.mk

index 8eb49c8..09ec42e 100644

--- a/include/host-build.mk

+++ b/include/host-build.mk

@@ -112,10 +112,20 @@ define Host/Exports/Default

 endef

 Host/Exports=$(Host/Exports/Default)

 

+iflinux:=

+ifeq ($(strip $(PKG_NAME)),linux)

+ifneq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),)

+DownloadPackage = 

+else

+DownloadPackage = $(call Download,default)

+endif

+endif

+

 ifndef DUMP

   define HostBuild

   $(if $(HOST_QUILT),$(Host/Quilt))

-  $(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip
$(PKG_SOURCE_URL)),$(call Download,default)))

+  $(eval $(call iflinux))

+  $(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip
$(PKG_SOURCE_URL)),$(DownloadPackage)))

   $(if $(DUMP),,$(call HostHost/Autoclean))

 

   $(HOST_STAMP_PREPARED):

 

 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] New platform (ubicom32) support

2009-07-28 Thread Erdem Ergen
Hi all, 

 

I looked docs but did not see anything about to add a new platform.

What is the procedure to give a support for a new platform ? 

And  which repository should we work on, git or svn ?  There is only
master branch in git repo, can we create another branch for ubicom32
architecture ? 

Is it enough to send new platform patches to community ? 

 

Erdem.   

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel