From 9425cf65489776cfaf2d4c5472d4693dcd158aa6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 17 Feb 2008 23:24:28 +0000 Subject: eeek, revert the FS#8482 commit again as it broke the bootloaders and the generated size wasn't actually used yet! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16339 a1c6a512-1295-4272-9138-f99709370657 --- apps/lang/Makefile | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'apps/lang/Makefile') diff --git a/apps/lang/Makefile b/apps/lang/Makefile index 31e839c1a1..e69de29bb2 100644 --- a/apps/lang/Makefile +++ b/apps/lang/Makefile @@ -1,37 +0,0 @@ -# __________ __ ___. -# Open \______ \ ____ ____ | | _\_ |__ _______ ___ -# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / -# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < -# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ -# \/ \/ \/ \/ \/ -# $Id: Makefile 15615 2007-11-14 10:31:57Z jethead71 $ -# - -# the header we generate -HEADER = $(BUILDDIR)/max_language_size.h - -# This sets up 'SRC' based on the files mentioned in SOURCES -include $(TOOLSDIR)/makesrc.inc -SOURCES=$(SRC) - -# OUTP is the list of files to depend upon -OUTP = $(patsubst %.lang,$(OBJDIR)/%.lng, $(SOURCES)) - -# the generated file with features specified genlang-style -FEATS=$(BUILDDIR)/apps/genlang-features - -ifndef V -SILENT=@ -endif -PRINTS=$(SILENT)$(call info,$(1)) - -all: $(HEADER) - -# generic rule for creating .lng from .lang -$(OBJDIR)/%.lng : %.lang $(FEATS) - $(call PRINTS,GENLANG $<) - $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/english.lang -t=$(ARCHOS)`cat $(FEATS)` -i=$(TARGET_ID) -b=$@ $< - -$(HEADER): $(OUTP) - $(call PRINTS,Make $(HEADER)) - echo "#define MAX_LANGUAGE_SIZE `du -b $(OBJDIR)/* |sort -n |tail -n 1 |cut -f 1`" > $(HEADER) -- cgit v1.2.3