3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
10 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
12 GDB_DIR
:=$(TOOL_BUILD_DIR
)/gdb-
$(PKG_VERSION
)
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,GDBSERVER
,gdbserver
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.prepared
:
20 rm -rf
$(PKG_BUILD_DIR
)
21 mkdir
-p
$(PKG_BUILD_DIR
)
24 $(PKG_BUILD_DIR
)/.configured
:
25 (cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
}; \
26 $(TARGET_CONFIGURE_OPTS
) \
27 CFLAGS
="$(TARGET_CFLAGS)" \
28 $(GDB_DIR
)/gdb
/gdbserver
/configure \
29 --target
=$(GNU_TARGET_NAME
) \
30 --host
=$(GNU_TARGET_NAME
) \
31 --build
=$(GNU_HOST_NAME
) \
38 --libexecdir
=/usr
/lib \
40 --datadir=/usr
/share \
41 --localstatedir
=/var \
45 $(DISABLE_LARGEFILE
) \
49 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
50 rm -rf
$(PKG_INSTALL_DIR
)
51 mkdir
-p
$(PKG_INSTALL_DIR
)
52 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
53 DESTDIR
="$(PKG_INSTALL_DIR)" \
58 install -m0755
-d
$(IDIR_GDBSERVER
)/usr
/bin
59 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/gdbserver
$(IDIR_GDBSERVER
)/usr
/bin
/
60 $(RSTRIP
) $(IDIR_GDBSERVER
)
61 $(IPKG_BUILD
) $(IDIR_GDBSERVER
) $(PACKAGE_DIR
)
This page took 0.048715 seconds and 5 git commands to generate.