|
Last change
on this file since 5dcdc822 was 9baf0a6, checked in by Thorsten Glaser <tg@…>, 19 years ago |
|
by request of wbx@:
sort out the mess we had in ${TOPDIR}/staging_dir_${ARCH} and introduce
some new variables:
- ${STAGING_DIR} stays the same, but has a different location now
- ${STAGING_TOOLS} is where executables for the host system go
- ${STAGING_PARENT} is ${TOPDIR}/cross_${ARCH} and has three (at
the moment) subdirectories: host (i.e. STAGING_TOOLS), target
(i.e. STAGING_DIR) and pkg (used by package.mk, pkg-bottom.mk)
but is an internal-use-only variable - please don't use it.
this builds through with a non-default config; more testing will follow
git-svn-id: svn://www.freewrt.org/trunk/freewrt@2591 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
600 bytes
|
| 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:= libgcc
|
|---|
| 10 | PKG_VERSION:= $(shell cat ${STAGING_TOOLS}/gcc_version)
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | NO_DISTFILES:= 1
|
|---|
| 13 |
|
|---|
| 14 | include ${TOPDIR}/mk/package.mk
|
|---|
| 15 |
|
|---|
| 16 | $(eval $(call PKG_template,LIBGCC,libgcc,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
|
|---|
| 17 |
|
|---|
| 18 | do-install:
|
|---|
| 19 | ${INSTALL_DIR} ${IDIR_LIBGCC}/lib
|
|---|
| 20 | ${CP} ${STAGING_DIR}/lib/libgcc_s.so.* ${IDIR_LIBGCC}/lib/
|
|---|
| 21 |
|
|---|
| 22 | include ${TOPDIR}/mk/pkg-bottom.mk
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.