Browse Source

Improve n810 profile

SVN-Revision: 22817
Michael Büsch 15 năm trước cách đây
mục cha
commit
e483dd2836

+ 1 - 1
target/linux/omap24xx/Makefile

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=omap24xx
 BOARDNAME:=TI OMAP-24xx
-FEATURES:=squashfs jffs2 usb usbgadget
+FEATURES:=targz squashfs jffs2 usb usbgadget display gpio audio
 
 LINUX_VERSION:=2.6.35.3
 

+ 14 - 6
target/linux/omap24xx/profiles/100-n810.mk

@@ -5,13 +5,21 @@
 # See /LICENSE for more information.
 #
 
-define Profile/n810
-  NAME:=Nokia n810
-  PACKAGES:=
+define Profile/n810-base
+  NAME:=Nokia n810 (base)
+  PACKAGES:= \
+	block-hotplug \
+	gpsd \
+	ip iw wireless-tools kmod-p54-spi wpa-supplicant \
+	dnsmasq dropbear \
+	kmod-fs-vfat kmod-fs-msdos \
+	kmod-input-evdev \
+	kmod-leds-gpio \
+	kmod-usb-tahvo kmod-usb-eth-gadget kmod-usb-net kmod-usb-net-cdc-ether
 endef
 
-define Profile/n810/Description
-	Package set compatible with Nokia n810 hardware
+define Profile/n810-base/Description
+	Minimal package set for Nokia n810 hardware.
 endef
-$(eval $(call Profile,n810))
+$(eval $(call Profile,n810-base))
 

+ 22 - 0
target/linux/omap24xx/profiles/110-n810-gui.mk

@@ -0,0 +1,22 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/n810-gui
+  $(call Profile/n810-base)
+  NAME:=Nokia n810 (GUI)
+  PACKAGES+= \
+	xserver-xorg xinit xauth xterm \
+	xf86-video-omapfb xf86-input-tslib xf86-input-evdev \
+	openbox lxpanel \
+	pwrtray
+endef
+
+define Profile/n810-gui/Description
+	Graphical user interface package set for Nokia n810 hardware.
+endef
+$(eval $(call Profile,n810-gui))
+