diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-04 20:18:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-04 20:18:35 +0000 |
commit | 244425cb5092aa78d49cfba551c7cd270381e49d (patch) | |
tree | 9126b19704d974dbbae0a674e831dd4701999a29 | |
parent | 0c21f02b558f55dac155435b85e292e4a015efe2 (diff) | |
download | master-187ad058-244425cb5092aa78d49cfba551c7cd270381e49d.tar.gz master-187ad058-244425cb5092aa78d49cfba551c7cd270381e49d.tar.bz2 master-187ad058-244425cb5092aa78d49cfba551c7cd270381e49d.zip |
change kernel package name to kernel-VERSION-BOARD to work around ipkg bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1340 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/control/kernel.control | 1 | ||||
-rw-r--r-- | target/linux/linux-2.4/Makefile | 5 | ||||
-rw-r--r-- | target/linux/rules.mk | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/control/kernel.control b/target/linux/control/kernel.control index 5432d21a0f..32e6fdc313 100644 --- a/target/linux/control/kernel.control +++ b/target/linux/control/kernel.control @@ -1,4 +1,3 @@ -Package: kernel Priority: optional Section: sys Maintainer: Felix Fietkau <nbd@vd-s.ath.cx> diff --git a/target/linux/linux-2.4/Makefile b/target/linux/linux-2.4/Makefile index e1ae0b3800..6f08cf67cc 100644 --- a/target/linux/linux-2.4/Makefile +++ b/target/linux/linux-2.4/Makefile @@ -40,7 +40,7 @@ IPKG_KERNEL:=IPKG_TMP=$(BUILD_DIR)/tmp IPKG_INSTROOT=$(LINUX_TARGET_DIR) IPKG_CO PKG_BUILD_DIR := $(LINUX_BUILD_DIR)/linux-modules PKG_RELEASE := 1 -KERNEL_IPKG:=$(LINUX_BUILD_DIR)/kernel_$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)_$(ARCH).ipk +KERNEL_IPKG:=$(LINUX_BUILD_DIR)/kernel-$(LINUX_VERSION)-$(BOARD)_$(PKG_RELEASE)_$(ARCH).ipk KERNEL_IDIR:=$(LINUX_BUILD_DIR)/kernel-ipkg include $(LINUX_KCONFIG) @@ -197,7 +197,8 @@ $(TARGET_MODULES_DIR): $(KERNEL_IPKG): rm -rf $(KERNEL_IDIR) mkdir -p $(KERNEL_IDIR)/etc - $(SCRIPT_DIR)/make-ipkg-dir.sh $(KERNEL_IDIR) ../control/kernel.control $(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE) $(ARCH) + $(SCRIPT_DIR)/make-ipkg-dir.sh $(KERNEL_IDIR) ../control/kernel.control $(PKG_RELEASE) $(ARCH) + echo 'Package: kernel-$(LINUX_VERSION)-$(BOARD)' >> $(KERNEL_IDIR)/CONTROL/control if [ -f ./config/$(BOARD).modules ]; then \ cp ./config/$(BOARD).modules $(KERNEL_IDIR)/etc/modules; \ fi diff --git a/target/linux/rules.mk b/target/linux/rules.mk index 9446c343fa..75a96b4e65 100644 --- a/target/linux/rules.mk +++ b/target/linux/rules.mk @@ -6,9 +6,9 @@ KDEPEND_$(1):=$($(4)) endif ifeq ($$(strip $(5)),) -IDEPEND_$(1):=kernel ($(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)) +IDEPEND_$(1):=kernel-$(LINUX_VERSION)-$(BOARD) ($(PKG_RELEASE)) else -IDEPEND_$(1):=kernel ($(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)), $(5) +IDEPEND_$(1):=kernel-$(LINUX_VERSION)-$(BOARD) ($(PKG_RELEASE)), $(5) endif PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)_$(ARCH).ipk |