Changeset 12094


Ignore:
Timestamp:
2008-08-04T16:56:45+02:00 (10 years ago)
Author:
nico
Message:

lcd4linux fixes:

  • lcd4linux needs at least 1 driver & 1 plugin enabled, assume all drivers & plugins are wanted when none are selected
  • since enabling all plugins prevents lcd4linux from building, enable only the NULL driver until we can figure something better
  • bump release number
Location:
packages/utils/lcd4linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/lcd4linux/Config.in

    r11438 r12094  
    6868        bool 
    6969        prompt "NULL" 
     70        default y 
    7071 
    7172config LCD4LINUX_DRV_PNG 
  • packages/utils/lcd4linux/Makefile

    r11438 r12094  
    11# 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2008 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1212PKG_REV:=877 
    1313PKG_VERSION:=r$(PKG_REV) 
    14 PKG_RELEASE:=2 
     14PKG_RELEASE:=3 
    1515 
    1616PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    3030  TITLE:=LCD display utility 
    3131  URL:=http://lcd4linux.bulix.org/ 
     32  MENU:=1 
    3233endef 
    3334 
     
    179180endif 
    180181 
    181  
     182# XXX: lcd4linux needs at least one driver and one plugin, if none are selected, build'em all 
     183ifeq ($(strip $(LCD4LINUX_CONFIGURE_DRIVERS)),) 
     184  LCD4LINUX_CONFIGURE_DRIVERS:=all 
     185endif   
     186ifeq ($(strip $(LCD4LINUX_CONFIGURE_PLUGINS)),) 
     187  LCD4LINUX_CONFIGURE_PLUGINS:=all 
     188endif   
     189   
    182190## TODO PYTHON PLUGIN, DEPENDS on ver >= '2.1.0' 
    183191 
     
    188196TARGET_CONFIGURE_OPTS+=\ 
    189197        CC="$(TARGET_CC) $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)" 
    190  
    191198 
    192199CONFIGURE_ARGS += \ 
    193200        --without-x \ 
    194201        --without-python \ 
    195         --with-drivers="$(LCD4LINUX_CONFIGURE_DRIVERS)" \ 
    196         --with-plugins="$(LCD4LINUX_CONFIGURE_PLUGINS)" \ 
    197202        --disable-rpath \ 
     203        --with-drivers="$(strip $(LCD4LINUX_CONFIGURE_DRIVERS))" \ 
     204        --with-plugins="$(strip $(LCD4LINUX_CONFIGURE_PLUGINS))" \ 
     205 
    198206 
    199207define Build/Compile 
Note: See TracChangeset for help on using the changeset viewer.