On 2010-10-06 7:57 PM, Philip Prindeville wrote: > > > This patch allows an ipkg install and then invoking post-processing rules to > customize it in-place on the target. > > An example is target/linux/x86/geos/target.mk: > > ... > CS5535_MASK:=0x0E00048 > ... > > define Package/kmod-gpio-cs5535/customize > @echo "Modifying $(2:kmod-%=%)" > sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' > $(1)/etc/modules.d/??-gpio-cs5535 > endef > > Signed-off-by: Philip Prindeville I just realized that this patch is completely unnecessary. You can define KernelPackage/gpio-cs5535/install and add pretty much the same thing there.
- Felix _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
