mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 04:06:47 +02:00
fix monit build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@911 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c77cb04f21
commit
842469cc1e
@ -12,7 +12,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|||||||
PKG_CAT:=zcat
|
PKG_CAT:=zcat
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
||||||
|
|
||||||
include $(TOPDIR)/package/rules.mk
|
include $(TOPDIR)/package/rules.mk
|
||||||
|
|
||||||
@ -48,10 +47,6 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
|||||||
|
|
||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
install
|
|
||||||
touch $(PKG_BUILD_DIR)/.built
|
touch $(PKG_BUILD_DIR)/.built
|
||||||
|
|
||||||
$(IPKG_MONIT):
|
$(IPKG_MONIT):
|
||||||
@ -60,6 +55,6 @@ $(IPKG_MONIT):
|
|||||||
install -d -m0755 $(IDIR_MONIT)/etc/init.d
|
install -d -m0755 $(IDIR_MONIT)/etc/init.d
|
||||||
install -m0755 ./files/monit.init $(IDIR_MONIT)/etc/init.d/monit
|
install -m0755 ./files/monit.init $(IDIR_MONIT)/etc/init.d/monit
|
||||||
install -d -m0755 $(IDIR_MONIT)/usr/sbin
|
install -d -m0755 $(IDIR_MONIT)/usr/sbin
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/monit $(IDIR_MONIT)/usr/sbin/
|
cp -fpR $(PKG_BUILD_DIR)/monit $(IDIR_MONIT)/usr/sbin/
|
||||||
$(RSTRIP) $(IDIR_MONIT)
|
$(STRIP) $(IDIR_MONIT)/usr/sbin/monit
|
||||||
$(IPKG_BUILD) $(IDIR_MONIT) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_MONIT) $(PACKAGE_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user