On Fri, Feb 23, 2018 at 2:50 PM, Roman Yeryomin <ro...@advem.lv> wrote: > On 2018-02-22 09:58, Linus Walleij wrote:
>> define Device/Default >> # All DTB files are prefixed with "gemini-" >> DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if >> $(IB),$(KDIR),$(DTS_DIR))/*-$(1).dtb))) >> KERNEL := kernel-bin | append-dtb >> KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts) >> KERNEL_NAME := zImage >> IMAGE_NAME := $$(IMAGE_PREFIX)-$$(1).$$(2) >> BLOCKSIZE := 128k >> endef (etc) > Looks valid, did you try building it? No I didn't manage to get the configuration right. The subtargets still appeared... Also I really need to get the extra build rules right for adding some NOPs to the Raidsonic (I don't know if it is needed anymore though) and some other smallish build extras. Right now I am just building the raidsonic rootFS and booting that with a monolithic kernel (all stuff compiled in) for my specific device, and it works great. With kernel v4.14 we would probably have to backport a bunch of patches from HEAD to get into proper shape but it can be done. v4.16 is going to look real nice though. Which device are you using as target? Yours, Linus Walleij _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel