.pkginfo cleanup #2

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4053 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Mike Baker 2006-06-23 00:49:42 +00:00
parent 72e02bf7ae
commit 4cd3d1fab1
3 changed files with 10 additions and 7 deletions

View File

@ -1,4 +1,4 @@
include $(INCLUDE_DIR)/modules-$(KERNEL).mk -include $(INCLUDE_DIR)/modules-$(KERNEL).mk
LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2 LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2
LINUX_SITE=http://www.us.kernel.org/pub/linux/kernel/v$(KERNEL) \ LINUX_SITE=http://www.us.kernel.org/pub/linux/kernel/v$(KERNEL) \

View File

@ -1,9 +1,9 @@
KERNEL:=kernel ifeq ($(DUMP),1)
BOARD:=board KERNEL:=<KERNEL>
LINUX_VERSION:=kernel BOARD:=<BOARD>
LINUX_VERSION:=<LINUX_VERSION>
ifneq ($(DUMP),1) else
include $(TOPDIR)/.kernel.mk -include $(TOPDIR)/.kernel.mk
ifneq (,$(findstring 2.4.,$(LINUX_VERSION))) ifneq (,$(findstring 2.4.,$(LINUX_VERSION)))
KERNEL:=2.4 KERNEL:=2.4

View File

@ -18,6 +18,9 @@ ifneq ($(DUMP),1)
TARGET:=-$(BOARD)-$(KERNEL) TARGET:=-$(BOARD)-$(KERNEL)
UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version} UCLIBC_VERSION:=${shell cat $(STAGING_DIR)/uclibc_version}
LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version} LIBGCC_VERSION:=${shell cat $(STAGING_DIR)/gcc_version}
else
UCLIBC_VERSION:=<UCLIBC_VERSION>
LIBGCC_VERSION:=<LIBGCC_VERSION>
endif endif
CONFIG_PACKAGE_base-files$(TARGET):=$(CONFIG_PACKAGE_base-files) CONFIG_PACKAGE_base-files$(TARGET):=$(CONFIG_PACKAGE_base-files)