From: Victor Martinez Date: Wed, 17 Feb 2010 11:46:44 +0000 (+0000) Subject: Updated Makefile to fix rebuilds and config to make test with event devices. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=1619b3691fc777fc5688cc6ad9dd16d2a75348b5;p=kernel%2Fipaq191x.git Updated Makefile to fix rebuilds and config to make test with event devices. --- diff --git a/Makefile b/Makefile index 3d340eb..1461fb8 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ TARGET = arm-unknown-linux-gnu TOPDIR = $(shell pwd) -WORK = $(PWD)/work +WORK = $(TOPDIR)/work CROSSTOOLS = $(TOPDIR)/../../toolchain/crosstools KERNEL_VERSION = 2.6.16-ipaq191x_20080323 @@ -19,14 +19,12 @@ clean: image-clean modules-clean map-clean distclean: clean image-distclean modules-distclean map-distclean rm -vrf $(WORK)/linux-$(KERNEL_VERSION) -$(WORK)/linux-$(KERNEL_VERSION).tar.bz2: config-$(KERNEL_VERSION) +$(WORK)/linux-$(KERNEL_VERSION).tar.bz2: wget -P $(WORK) http://crux-arm.nu/files/distfiles/linux-$(KERNEL_VERSION).tar.bz2 - touch $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 - cd $(WORK)/linux-$(KERNEL_VERSION) && \ - cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config && \ + cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config touch $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) @@ -73,7 +71,7 @@ map-clean: map-distclean: map-clean -config: $(WORK)/linux-$(KERNEL_VERSION) +config: $(WORK)/linux-$(KERNEL_VERSION) cd $(WORK)/linux-$(KERNEL_VERSION) && \ export PATH=$(CROSSTOOLS)/bin:$$PATH && \ export LD_LIBRARY_PATH=$(CROSSTOOLS)/lib:$$LD_LIBRARY_PATH && \ diff --git a/config-2.6.16-ipaq191x_20080323 b/config-2.6.16-ipaq191x_20080323 index 8009e20..08526b1 100644 --- a/config-2.6.16-ipaq191x_20080323 +++ b/config-2.6.16-ipaq191x_20080323 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.16.49+hh9 -# Fri Feb 12 23:12:47 2010 +# Tue Feb 16 22:21:53 2010 # CONFIG_ARM=y CONFIG_MMU=y @@ -890,23 +890,37 @@ CONFIG_INPUT=y # # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set -# CONFIG_INPUT_TSDEV is not set +CONFIG_INPUT_TSDEV=y +CONFIG_INPUT_TSDEV_SCREEN_X=240 +CONFIG_INPUT_TSDEV_SCREEN_Y=320 CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # -# CONFIG_INPUT_KEYBOARD is not set +CONFIG_INPUT_KEYBOARD=y +CONFIG_KEYBOARD_ATKBD=y +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_LKKBD is not set +# CONFIG_KEYBOARD_XTKBD is not set +# CONFIG_KEYBOARD_NEWTON is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set -# CONFIG_INPUT_TOUCHSCREEN is not set +CONFIG_INPUT_TOUCHSCREEN=y +# CONFIG_TOUCHSCREEN_GUNZE is not set +# CONFIG_TOUCHSCREEN_ELO is not set +# CONFIG_TOUCHSCREEN_MTOUCH is not set +# CONFIG_TOUCHSCREEN_MK712 is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # -# CONFIG_SERIO is not set +CONFIG_SERIO=y +# CONFIG_SERIO_SERPORT is not set +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set #