summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 14:32:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 14:32:17 +0000
commit7e04fed0e602b67026842fdc7ede04a61ac5c308 (patch)
tree5371413bdf22d877bf53ce91647093e1517b7b57 /openwrt/package/base-files
parent0f0e7352b544482fa3c19f6881f7286ef0a46fef (diff)
downloadmtk-20170518-7e04fed0e602b67026842fdc7ede04a61ac5c308.zip
mtk-20170518-7e04fed0e602b67026842fdc7ede04a61ac5c308.tar.gz
mtk-20170518-7e04fed0e602b67026842fdc7ede04a61ac5c308.tar.bz2
kernel package cleanup, move madwifi from target/linux/package/ to package/, update to 0.9.0
SVN-Revision: 3860
Diffstat (limited to 'openwrt/package/base-files')
-rw-r--r--openwrt/package/base-files/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile
index 485ebdd..226782b 100644
--- a/openwrt/package/base-files/Makefile
+++ b/openwrt/package/base-files/Makefile
@@ -1,20 +1,11 @@
# $Id$
include $(TOPDIR)/rules.mk
-
-ifneq ($(DUMP),1)
-include $(BUILD_DIR)/kernel.mk
-include $(TOPDIR)/target/linux/rules.mk
-TARGET:=-$(BOARD)-$(KERNEL)
-BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
-
-UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version}
-LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version}
-endif
+include $(TOPDIR)/package/kernel.mk
PKG_NAME:=base-files
PKG_RELEASE:=8
-PKG_BUILD_DIR:=$(BUILD_DIR)/base-files
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/base-files
REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )
ifeq ($(REV),)
@@ -23,6 +14,12 @@ endif
include $(TOPDIR)/package/rules.mk
+ifneq ($(DUMP),1)
+TARGET:=-$(BOARD)-$(KERNEL)
+UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version}
+LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version}
+endif
+
CONFIG_PACKAGE_base-files$(TARGET):=CONFIG_PACKAGE_base-files
define Package/base-files$(TARGET)
@@ -49,7 +46,6 @@ define Package/uclibc
DESCRIPTION:=C library for embedded systems
endef
-
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef