source: scripts/native-scripts/copy-kern-hdrs.sh @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100755
File size: 452 bytes
Line 
1#!/bin/bash
2
3# cross-lfs native copy kernel headers
4# ------------------------------------
5# $LastChangedBy$
6# $LastChangedDate$
7# $LastChangedRevision$
8# $HeadURL$
9#
10
11if [ ! -d /usr/include ]; then mkdir /usr/include; fi
12
13if [ ! -d /usr/include/asm ]; then
14   echo " o Copying kernel headers from"
15   echo "   ${TGT_TOOLS}/include to /usr/include"
16   cp -Rp ${TGT_TOOLS}/include/asm* /usr/include
17   cp -Rp ${TGT_TOOLS}/include/linux /usr/include
18fi
19
Note: See TracBrowser for help on using the repository browser.