Ticket #350 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

Makefile:36: *** commands commence before first target. Stop.

Reported by: anonymous Assigned to: wbx
Priority: minor Milestone: 1.x (low prio)
Component: general Version: trunk
Keywords: Cc:

Description

hi iam tring to preparing myown package for my module Here is Makefile TOPDIR=/home/shiva/OpenWrt-SDK-Linux-i686-1 include $(TOPDIR)/rules.mk

PKG_NAME:=kpe PKG_VERSION:=0.9.9.9 PKG_RELEASE:=6 PKG_MD5SUM:=4b21afe500f778d2a189749d64c7f937

PKG_SOURCE_URL:=http://files.kpe.cc/linux PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-(PKG_RELEASE).tar.gz PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install

include $(TOPDIR)/package/rules.mk

$(eval $(call PKG_template,KPE,kpe,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))

$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared

(cd $(PKG_BUILD_DIR); \

$(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include

-I$(STAGING_DIR)/include" \

LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"

\

./configure \

--target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --without-libiconv-prefix \ --without-libintl-prefix \ --disable-nls \

); touch $@

$(PKG_BUILD_DIR)/.built:

rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)/usr/bin $(MAKE) -C $(PKG_BUILD_DIR)/src \

$(TARGET_CONFIGURE_OPTS) \ prefix="$(PKG_INSTALL_DIR)/usr"

cp -fpR $(PKG_BUILD_DIR)/src/kpe $(PKG_INSTALL_DIR)/usr/bin touch $@

$(IPKG_KPE):

install -d -m0755 $(IDIR_KPE)/usr/bin cp -fpR $(PKG_INSTALL_DIR)/usr/bin/kpe $(IDIR_KPE)/usr/bin

$(RSTRIP) $(IDIR_KPE)

$(IPKG_BUILD) $(IDIR_KPE) $(PACKAGE_DIR)

mostlyclean:

make -C $(PKG_BUILD_DIR) clean rm $(PKG_BUILD_DIR)/.built

i used tabs to align but still it is giving error at Makefile:36: *** commands commence before first target. Stop. please send me a answer for this

Attachments

Change History

06/27/07 11:56:08 changed by tg

  • status changed from new to closed.
  • resolution set to invalid.
  • summary changed from Makefile:36: *** commands commence before first target. Stop. to Makefile:36: *** commands commence before first target. Stop..

This is not OpenWrt?


Add/Change #350 (Makefile:36: *** commands commence before first target. Stop.)




Action