freewrt_1_0
freewrt_2_0
|
Last change
on this file since c8b93bd was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
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
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 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.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= busybox
|
|---|
| 10 | PKG_RELEASE:= 2
|
|---|
| 11 | PKG_VERSION:= 1.1.3
|
|---|
| 12 | PKG_MD5SUM:= 19a0b475169335f17e421cf644616fe7
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|---|
| 15 | PKG_SOURCE_URL:= http://www.busybox.net/downloads
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,BUSYBOX,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | $(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(WRKBUILD)/.config
|
|---|
| 23 | yes '' | $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" -C $(WRKBUILD) oldconfig
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.built:
|
|---|
| 27 | $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" PREFIX="$(IDIR_BUSYBOX)" \
|
|---|
| 28 | EXTRA_CFLAGS="$(TARGET_CFLAGS)" ARCH="$(ARCH)" -C $(WRKBUILD)
|
|---|
| 29 | touch $@
|
|---|
| 30 |
|
|---|
| 31 | $(IPKG_BUSYBOX):
|
|---|
| 32 | $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" PREFIX="$(IDIR_BUSYBOX)" \
|
|---|
| 33 | EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(WRKBUILD) install
|
|---|
| 34 | $(RSTRIP) $(IDIR_BUSYBOX)
|
|---|
| 35 | $(IPKG_BUILD) $(IDIR_BUSYBOX) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.