Changeset c8b93bd in freewrt for package/wificonf


Ignore:
Timestamp:
Sep 16, 2006, 6:21:37 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
9036ea5
Parents:
8e47882
Message:

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/wificonf/Makefile

    r8e47882 rc8b93bd  
    1 # $Id: Makefile 2480 2005-11-14 02:07:33Z nbd $
     1# $FreeWRT$
     2#-
     3# This file is part of the FreeWRT project. FreeWRT is copyrighted
     4# material, please see the LICENCE file in the top-level directory
     5# or at http://www.freewrt.org/licence for details.
    26
    37include $(TOPDIR)/rules.mk
    48
    5 PKG_NAME:=wificonf
    6 PKG_RELEASE:=5
     9PKG_NAME:=              wificonf
     10PKG_RELEASE:=           5
    711
    812WRKSRC=                 ${WRKDIR}/wificonf
     13DISTFILES:=
    914
    10 DISTFILES:=
    11 include $(TOPDIR)/package/rules.mk
     15include $(TOPDIR)/mk/package.mk
    1216
    1317$(eval $(call PKG_template,WIFICONF,$(PKG_NAME),$(PKG_RELEASE),$(ARCH)))
    1418
    1519$(WRKBUILD)/.prepared:
    16         mkdir -p $@
     20        mkdir -p $(WRKBUILD)
    1721        touch $@
    1822
     
    2125
    2226$(WRKBUILD)/.built:
    23         $(TARGET_CC) $(TARGET_CFLAGS) -Iinclude/ -I$(STAGING_DIR)/usr/include -o $(WRKBUILD)/wifi wificonf.c -L$(STAGING_DIR)/usr/lib -lnvram -lshared $(STAGING_DIR)/usr/lib/libiw.so
     27        $(TARGET_CC) $(TARGET_CFLAGS) -I./include \
     28                -I$(STAGING_DIR)/usr/include \
     29                -o $(WRKBUILD)/wifi wificonf.c \
     30                -L$(STAGING_DIR)/usr/lib -lnvram -lshared \
     31                 $(STAGING_DIR)/usr/lib/libiw.so
    2432        touch $@
    2533
    2634$(IPKG_WIFICONF):
    27         install -d -m0755 $(IDIR_WIFICONF)/sbin
    28         install -m0755 $(WRKBUILD)/wifi $(IDIR_WIFICONF)/sbin/
     35        $(INSTALL_DIR) $(IDIR_WIFICONF)/sbin
     36        $(INSTALL_BIN) $(WRKBUILD)/wifi $(IDIR_WIFICONF)/sbin/
    2937        $(RSTRIP) $(IDIR_WIFICONF)
    3038        $(IPKG_BUILD) $(IDIR_WIFICONF) $(PACKAGE_DIR)
Note: See TracChangeset for help on using the changeset viewer.