freewrt_1_0
freewrt_2_0
|
Last change
on this file since 6fc4520e was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= gdbserver
|
|---|
| 10 | PKG_VERSION:= 6.3
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 |
|
|---|
| 13 | GDB_DIR:=$(TOOLCHAIN_BUILD_DIR)/gdb-$(PKG_VERSION)
|
|---|
| 14 |
|
|---|
| 15 | DISTFILES:=
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,GDBSERVER,gdbserver,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.prepared:
|
|---|
| 22 | rm -rf $(WRKBUILD)
|
|---|
| 23 | mkdir -p $(WRKBUILD)
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.configured:
|
|---|
| 27 | (cd $(WRKBUILD); rm -rf config.{cache,status}; \
|
|---|
| 28 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 29 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 30 | $(GDB_DIR)/gdb/gdbserver/configure \
|
|---|
| 31 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 32 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 33 | --build=$(GNU_HOST_NAME) \
|
|---|
| 34 | --program-prefix="" \
|
|---|
| 35 | --program-suffix="" \
|
|---|
| 36 | --prefix=/usr \
|
|---|
| 37 | --exec-prefix=/usr \
|
|---|
| 38 | --bindir=/usr/bin \
|
|---|
| 39 | --sbindir=/usr/sbin \
|
|---|
| 40 | --libexecdir=/usr/lib \
|
|---|
| 41 | --sysconfdir=/etc \
|
|---|
| 42 | --datadir=/usr/share \
|
|---|
| 43 | --localstatedir=/var \
|
|---|
| 44 | --mandir=/usr/man \
|
|---|
| 45 | --infodir=/usr/info \
|
|---|
| 46 | --disable-nls \
|
|---|
| 47 | --enable-largefile \
|
|---|
| 48 | );
|
|---|
| 49 | touch $@
|
|---|
| 50 |
|
|---|
| 51 | $(WRKBUILD)/.built:
|
|---|
| 52 | rm -rf $(WRKINST)
|
|---|
| 53 | mkdir -p $(WRKINST)
|
|---|
| 54 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 55 | DESTDIR="$(WRKINST)" \
|
|---|
| 56 | install
|
|---|
| 57 | touch $@
|
|---|
| 58 |
|
|---|
| 59 | $(IPKG_GDBSERVER):
|
|---|
| 60 | install -m0755 -d $(IDIR_GDBSERVER)/usr/bin
|
|---|
| 61 | $(CP) $(WRKINST)/usr/bin/gdbserver $(IDIR_GDBSERVER)/usr/bin/
|
|---|
| 62 | $(RSTRIP) $(IDIR_GDBSERVER)
|
|---|
| 63 | $(IPKG_BUILD) $(IDIR_GDBSERVER) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.