-define Profile/Ralink
- NAME:=Ralink WiFi (default)
- PACKAGES:=kmod-rt61
-endef
-$(eval $(call Profile,Ralink))
+ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
+ define Kernel/SetInitramfs
+ rm -f $(BUILD_DIR)/root/sbin/init
+ ln -s /etc/preinit $(BUILD_DIR)/root/sbin/init
+ $(CP) $(PLATFORM_DIR)/image/preinit.arch $(BUILD_DIR)/root/etc/
+ endef
+endif
+
+# include the profiles
+-include profiles/*.mk