From 102ad2157b31642e029c8c176de1cc5b22c96599 Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sun, 24 Jul 2005 19:58:14 +0000 Subject: move wificonf and nvram stuff back to package/, remove build_mipsel/root, run install part of package/ for every board/kernel - fixes dependency mess git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1540 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 package/nvram/Makefile (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile new file mode 100644 index 000000000..9885f9908 --- /dev/null +++ b/package/nvram/Makefile @@ -0,0 +1,46 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=nvram +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(TOPDIR)/package/rules.mk + +# does not depend on menuconfig +ifneq ($(BOARD),brcm) +BR2_PACKAGE_NVRAM:=m +else +BR2_PACKAGE_NVRAM:=y +endif + +$(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.prepared: + mkdir -p $(PKG_BUILD_DIR) + cp -a ./src/* $(PKG_BUILD_DIR) + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" + touch $@ + +$(IPKG_NVRAM): + mkdir -p $(IDIR_NVRAM)/usr/lib + cp $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib + mkdir -p $(IDIR_NVRAM)/usr/sbin + cp $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin + $(RSTRIP) $(IDIR_NVRAM) + $(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR) + + +compile: install-dev +install-dev: + mkdir -p $(STAGING_DIR)/usr/lib + cp $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib + + -- cgit v1.2.3 From 2ba9812d31e1d673eefd7afcd70b0fbce90569c8 Mon Sep 17 00:00:00 2001 From: wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sun, 4 Sep 2005 01:33:45 +0000 Subject: use nvram binary only for 2.4.30 system at the moment git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1843 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 9885f9908..337f722b5 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -13,8 +13,10 @@ include $(TOPDIR)/package/rules.mk ifneq ($(BOARD),brcm) BR2_PACKAGE_NVRAM:=m else +ifeq ($(LINUX_VERSION),2.4.30) BR2_PACKAGE_NVRAM:=y endif +endif $(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) -- cgit v1.2.3 From 294a53092a158aa8b320ad158dbc110844babbfd Mon Sep 17 00:00:00 2001 From: wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat, 10 Sep 2005 16:57:20 +0000 Subject: fix the broken build for brcm 2.4, idea from nbd git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1887 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 337f722b5..f7312fe18 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -10,13 +10,11 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(TOPDIR)/package/rules.mk # does not depend on menuconfig -ifneq ($(BOARD),brcm) +ifneq ($(BOARD)-$(KERNEL),brcm-2.4) BR2_PACKAGE_NVRAM:=m else -ifeq ($(LINUX_VERSION),2.4.30) BR2_PACKAGE_NVRAM:=y endif -endif $(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) -- cgit v1.2.3 From 1b09a46ee21219e4a3303f57b9c771ada562dbed Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Mon, 3 Oct 2005 20:18:39 +0000 Subject: fix nvram build error git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2047 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index f7312fe18..b1b87fd15 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -39,7 +39,7 @@ $(IPKG_NVRAM): compile: install-dev -install-dev: +install-dev: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/lib cp $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib -- cgit v1.2.3 From d0f611787c94090697587c02e1b5c2f3d45b0b0a Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat, 22 Oct 2005 00:06:20 +0000 Subject: large build system cleanup. added some stuff to control the verbosity level, but not complete, yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2221 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 7 ------- 1 file changed, 7 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index b1b87fd15..eea5a3aa0 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -9,13 +9,6 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(TOPDIR)/package/rules.mk -# does not depend on menuconfig -ifneq ($(BOARD)-$(KERNEL),brcm-2.4) -BR2_PACKAGE_NVRAM:=m -else -BR2_PACKAGE_NVRAM:=y -endif - $(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.prepared: -- cgit v1.2.3 From 42136877538fe79297345f554d033a41dc081daa Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat, 22 Oct 2005 01:40:50 +0000 Subject: add some more verbosity stuff git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2222 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index eea5a3aa0..db8c65d33 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -16,6 +16,9 @@ $(PKG_BUILD_DIR)/.prepared: cp -a ./src/* $(PKG_BUILD_DIR) touch $@ +$(PKG_BUILD_DIR)/.configured: + touch $@ + $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ -- cgit v1.2.3 From 6b53157103d462f7ea0b81f9fe77412719ea2260 Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat, 22 Oct 2005 12:12:59 +0000 Subject: lots of small package changes and dependency cleanups for the V= stuff git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2230 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index db8c65d33..3e4c2d3fe 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -34,7 +34,7 @@ $(IPKG_NVRAM): $(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR) -compile: install-dev +compile-targets: install-dev install-dev: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/lib cp $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib -- cgit v1.2.3 From 82daa5e9c007b2a16aa9e8c5526fd8d034ee4541 Mon Sep 17 00:00:00 2001 From: mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Wed, 1 Feb 2006 23:53:19 +0000 Subject: change cp to $(CP) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 3e4c2d3fe..dd460fc06 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -13,7 +13,7 @@ $(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.prepared: mkdir -p $(PKG_BUILD_DIR) - cp -a ./src/* $(PKG_BUILD_DIR) + $(CP) ./src/* $(PKG_BUILD_DIR) touch $@ $(PKG_BUILD_DIR)/.configured: @@ -27,9 +27,9 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_NVRAM): mkdir -p $(IDIR_NVRAM)/usr/lib - cp $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib + $(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib mkdir -p $(IDIR_NVRAM)/usr/sbin - cp $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin + $(CP) $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin $(RSTRIP) $(IDIR_NVRAM) $(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR) @@ -37,6 +37,6 @@ $(IPKG_NVRAM): compile-targets: install-dev install-dev: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/lib - cp $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib + $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib -- cgit v1.2.3 From 2b42215e7af143bc9c1734cfc551e28a27a91af5 Mon Sep 17 00:00:00 2001 From: mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Wed, 10 May 2006 19:06:22 +0000 Subject: Convert packages to new template git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3752 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index dd460fc06..762eb5818 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -9,30 +9,26 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(TOPDIR)/package/rules.mk -$(eval $(call PKG_template,NVRAM,nvram,$(PKG_RELEASE),$(ARCH))) - -$(PKG_BUILD_DIR)/.prepared: +define Package/nvram +SECTION:=base +# CATEGORY:=FIXME +DEFAULT:=n +TITLE:=Broadcom config utility +DESCRIPTION:=control utility for broadcom's 'nvram' config area +endef + +define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR) - touch $@ - -$(PKG_BUILD_DIR)/.configured: - touch $@ - -$(PKG_BUILD_DIR)/.built: - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" - touch $@ +endef $(IPKG_NVRAM): - mkdir -p $(IDIR_NVRAM)/usr/lib +define Package/nvram/install + install -d -m0755 $(IDIR_NVRAM)/usr/lib + install -d -m0755 $(IDIR_NVRAM)/usr/sbin $(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib - mkdir -p $(IDIR_NVRAM)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin - $(RSTRIP) $(IDIR_NVRAM) - $(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR) - + install -m0755 $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin +endef compile-targets: install-dev install-dev: $(PKG_BUILD_DIR)/.built -- cgit v1.2.3 From 44ba04efe200178dd52943b2c1edd8418fbac0ba Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Thu, 11 May 2006 16:00:43 +0000 Subject: replace $(IDIR_*) with $(1) git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3759 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 762eb5818..3b9f82dbe 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -22,12 +22,11 @@ define Build/Prepare $(CP) ./src/* $(PKG_BUILD_DIR) endef -$(IPKG_NVRAM): define Package/nvram/install - install -d -m0755 $(IDIR_NVRAM)/usr/lib - install -d -m0755 $(IDIR_NVRAM)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib - install -m0755 $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin + install -d -m0755 $(1)/usr/lib + install -d -m0755 $(1)/usr/sbin + $(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib + install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin endef compile-targets: install-dev -- cgit v1.2.3 From e240cc0ea62aa7404ccf6187cc95cf6370212bef Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Tue, 30 May 2006 18:55:52 +0000 Subject: improve dependency handling, fix some package makefile bugs git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3843 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 3b9f82dbe..9cc6b9997 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -11,8 +11,7 @@ include $(TOPDIR)/package/rules.mk define Package/nvram SECTION:=base -# CATEGORY:=FIXME -DEFAULT:=n +DEPENDS:=@LINUX_2_4_BRCM TITLE:=Broadcom config utility DESCRIPTION:=control utility for broadcom's 'nvram' config area endef -- cgit v1.2.3 From c1bae219c1beaf44b2c71bcc3572707c8afa0069 Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Wed, 31 May 2006 13:00:11 +0000 Subject: add missing BuildPackage lines, convert install-dev: to Build/InstallDev git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3857 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 9cc6b9997..5900f6f05 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -28,9 +28,14 @@ define Package/nvram/install install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin endef -compile-targets: install-dev -install-dev: $(PKG_BUILD_DIR)/.built +define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/lib $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib - +endef + +define Build/UninstallDev + rm -f $(STAGING_DIR)/usr/lib/libshared*.so \ + $(STAGING_DIR)/usr/lib/libnvram*.so +endef +$(eval $(call BuildPackage,nvram)) -- cgit v1.2.3 From 4e00d98efdec5bb2e6e19eccf85fcf9a0eecb646 Mon Sep 17 00:00:00 2001 From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sun, 18 Jun 2006 18:30:40 +0000 Subject: normalize Makefiles. git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 5900f6f05..019800a0c 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -22,20 +22,19 @@ define Build/Prepare endef define Package/nvram/install - install -d -m0755 $(1)/usr/lib + install -d -m0755 $(1)/usr/lib + $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/ install -d -m0755 $(1)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib - install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ endef define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/lib - $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib + $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/ endef define Build/UninstallDev - rm -f $(STAGING_DIR)/usr/lib/libshared*.so \ - $(STAGING_DIR)/usr/lib/libnvram*.so + rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so endef $(eval $(call BuildPackage,nvram)) -- cgit v1.2.3 From 859e8f7f7d8bfbefd610d338d16498190cd51e15 Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Wed, 21 Jun 2006 02:16:37 +0000 Subject: build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 019800a0c..cf76c7c81 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -7,7 +7,7 @@ PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) -include $(TOPDIR)/package/rules.mk +include $(TOPDIR)/include/package.mk define Package/nvram SECTION:=base -- cgit v1.2.3 From 0b0afa4d818ec18187b09055fbb8d84a01590d6e Mon Sep 17 00:00:00 2001 From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Wed, 21 Jun 2006 02:32:39 +0000 Subject: add INCLUDE_DIR variable for $(TOPDIR)/include git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index cf76c7c81..11e89363f 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -7,7 +7,7 @@ PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) -include $(TOPDIR)/include/package.mk +include $(INCLUDE_DIR)/package.mk define Package/nvram SECTION:=base -- cgit v1.2.3 From 02cdebbb91a33d8e24da1c94a9d93ac39be168a7 Mon Sep 17 00:00:00 2001 From: mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Tue, 27 Jun 2006 00:35:46 +0000 Subject: credit where credit is due git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index 11e89363f..b7040deec 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -1,3 +1,9 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# # $Id$ include $(TOPDIR)/rules.mk -- cgit v1.2.3 From b1722f512f7c4ecb8ec0602ee8afbf8961be8fef Mon Sep 17 00:00:00 2001 From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat, 23 Sep 2006 19:28:18 +0000 Subject: standardize Makefile, change section from base to utils git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4841 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/nvram/Makefile | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'package/nvram/Makefile') diff --git a/package/nvram/Makefile b/package/nvram/Makefile index b7040deec..ab33c1151 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -16,10 +16,13 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk define Package/nvram -SECTION:=base -DEPENDS:=@LINUX_2_4_BRCM -TITLE:=Broadcom config utility -DESCRIPTION:=control utility for broadcom's 'nvram' config area + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=@LINUX_2_4_BRCM + TITLE:=Broadcom config utility + DESCRIPTION:=\ + This package contains an utility to control broadcom's 'nvram' config \\\ + area. endef define Build/Prepare @@ -27,13 +30,6 @@ define Build/Prepare $(CP) ./src/* $(PKG_BUILD_DIR) endef -define Package/nvram/install - install -d -m0755 $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/ - install -d -m0755 $(1)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ -endef - define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/ @@ -43,4 +39,11 @@ define Build/UninstallDev rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so endef +define Package/nvram/install + install -d -m0755 $(1)/usr/lib + $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/ + install -d -m0755 $(1)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ +endef + $(eval $(call BuildPackage,nvram)) -- cgit v1.2.3