-$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
- [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
- [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches
- @$(CP) config $(LINUX_DIR)/.config
- touch $@
+define Profile/Ralink
+ NAME:=Ralink WiFi (default)
+ PACKAGES:=kmod-rt61
+endef
+$(eval $(call Profile,Ralink))
+
+$(eval $(call BuildKernel))