summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 14:32:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 14:32:17 +0000
commit9e0015224dd9496dcbeef5c6eaa5af7232ff7b9b (patch)
tree0d3543b9a04a1c2fc884629b1aa00d12b7ffddea /package/base-files
parent376671b487d255b4620d190958ea710e2f106a62 (diff)
kernel package cleanup, move madwifi from target/linux/package/ to package/, update to 0.9.0
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3860 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 485ebddc3..226782bb9 100644
--- a/package/base-files/Makefile
+++ b/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