fix motion package aka - clean up someone elses's mess

SVN-Revision: 3419
master
Mike Baker 19 years ago
parent c87fe1b914
commit ec65e39a75
  1. 2
      openwrt/package/Makefile
  2. 12
      openwrt/package/motion/Makefile

@ -439,7 +439,7 @@ mini_httpd-compile: openssl-compile
endif endif
ifneq ($(BR2_PACKAGE_MOTION),) ifneq ($(BR2_PACKAGE_MOTION),)
motion-compile: libjpeg-compile motion-compile: jpeg-compile
endif endif
ifneq ($(BR2_PACKAGE_MPD_MP3),) ifneq ($(BR2_PACKAGE_MPD_MP3),)

@ -35,15 +35,15 @@ $(PKG_BUILD_DIR)/.built:
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
install_prefix="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
all install all install
touch $@ touch $@
$(IPKG_FOO): $(IPKG_MOTION):
install -d -m0755 $(IDIR_FOO)/usr/sbin install -d -m0755 $(IDIR_MOTION)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/motion $(IDIR_FOO)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/bin/motion $(IDIR_MOTION)/usr/bin
$(RSTRIP) $(IDIR_FOO) $(RSTRIP) $(IDIR_MOTION)
$(IPKG_BUILD) $(IDIR_FOO) $(PACKAGE_DIR) $(IPKG_BUILD) $(IDIR_MOTION) $(PACKAGE_DIR)
mostlyclean: mostlyclean:
make -C $(PKG_BUILD_DIR) clean make -C $(PKG_BUILD_DIR) clean

Loading…
Cancel
Save