[OpenWrt-Devel] OpenWrt build system: New target, how to avoid generic patches/files?

2009-03-28 Thread bifferos
I am trying to add a new OpenWrt target by introducing a new set of files under target/linux//. I would like to avoid applying any generic kernel patches for this target, however I'm unable to work out how to do this, other than to just remove all generic patches and files prior to the build:

Re: [OpenWrt-Devel] OpenWrt build system: New target, how to avoid generic patches/files?

2009-03-28 Thread Jac Goudsmit
I'm not an expert but the include/kernel.mk file (which gets included from target.mk) has the following two lines: PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) FILES_DIR ?= ./files$(shell [ -d "./files-$(KERNEL_PATCHVER)" ]