freewrt_1_0
freewrt_2_0
|
Last change
on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)
git-svn-id: svn://www.freewrt.org/trunk/freewrt@306 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
742 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 2480 2005-11-14 02:07:33Z nbd $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=wificonf
|
|---|
| 6 | PKG_RELEASE:=5
|
|---|
| 7 |
|
|---|
| 8 | WRKSRC:=${WRKDIR}/wificonf
|
|---|
| 9 |
|
|---|
| 10 | DISTFILES:=
|
|---|
| 11 | include $(TOPDIR)/package/rules.mk
|
|---|
| 12 |
|
|---|
| 13 | $(eval $(call PKG_template,WIFICONF,$(PKG_NAME),$(PKG_RELEASE),$(ARCH)))
|
|---|
| 14 |
|
|---|
| 15 | $(WRKBUILD)/.prepared:
|
|---|
| 16 | mkdir -p $@
|
|---|
| 17 | touch $@
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured:
|
|---|
| 20 | touch $@
|
|---|
| 21 |
|
|---|
| 22 | $(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
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(IPKG_WIFICONF):
|
|---|
| 27 | install -d -m0755 $(IDIR_WIFICONF)/sbin
|
|---|
| 28 | install -m0755 $(WRKBUILD)/wifi $(IDIR_WIFICONF)/sbin/
|
|---|
| 29 | $(RSTRIP) $(IDIR_WIFICONF)
|
|---|
| 30 | $(IPKG_BUILD) $(IDIR_WIFICONF) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.