📄 makefile.sash
字号:
################################################################### (C) Copyright 1999# DENX Software Engineering# Wolfgang Denk, wd@denx.de# All rights reserved.## LinuxPPC Cross Development Kit:## Tools and configuration files to build the cross compiler and# binutils, standard libraries and the most important packages## => sash Makefile## $Id: $#########################################################################NAME = sashARCHIVE = $(ARCH_DIR)/$(NAME)-$(SASH_VERS).$(SASH_SFX)WORK_DIR= $(NAME)-$(SASH_VERS)export CFLAGS=-O2 -Wallexport CC=$(CROSS_PATH)/gccexport LD=$(CROSS_PATH)/ldEGCS_DIR=$(CDK_DIR)/$(TARGET)/lib/gcc-lib/powerpc-linux/2.95.2# The path to the compiler specific includesexport CPPFLAGS=-nostdinc -I. -I$(CROSS_DEV)/include -I$(EGCS_DIR)/include# Get a user's independant pathexport PATH=$(CROSS_PATH):/bin:/usr/binall: installuntar: rm -fr $(SRC_DIR)/$(WORK_DIR) [ -r $(ARCHIVE) ] set -e ; cd $(SRC_DIR) ; gunzip <$(ARCHIVE) | gtar -xf -# Problems:# Apply my own patches [all CAPS], plus patches from SRC RPMpatch: untar @echo ============================ $@ ============================== cd $(SRC_DIR)/ ; \ find $(WORK_DIR) | cpio -VBpdum $(OBJ_DIR)/ ; \ cd $(OBJ_DIR)/$(WORK_DIR) ; \ for i in MAKE misc ; do \ P=$(PATCH_DIR)/$(WORK_DIR)/$$i.patch ; \ patch -p1 -b -z.$$i <$$P ; \ donebuild: patch @echo ============================ $@ ============================== cd $(OBJ_DIR)/$(WORK_DIR) ; gmakeinstall: build @echo ============================ $@ ============================== cd $(OBJ_DIR)/$(WORK_DIR) ; gmake installclean: rm -fr $(OBJ_DIR)/$(WORK_DIR)clobber: clean rm -fr $(SRC_DIR)/$(WORK_DIR)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -