Changeset 315130c in mainline for kernel/Makefile


Ignore:
Timestamp:
2017-11-01T18:17:23Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aa537a5a
Parents:
52a7f238
Message:

Strip binaries using a linker option instead of calling a separate program.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    r52a7f238 r315130c  
    120120        AFLAGS += --fatal-warnings
    121121endif
     122endif
     123
     124ifeq ($(CONFIG_STRIP_BINARIES),y)
     125        LFLAGS += --strip-all
    122126endif
    123127
     
    393397        $(LD) $(LFLAGS) -Map $(MAP) -o $@ $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SYMTAB_OBJECTS)
    394398endif
    395 ifeq ($(CONFIG_STRIP_BINARIES),y)
    396         $(STRIP) $(RAW)
    397 endif
    398399
    399400$(LINK): $(LINK).in | depend
Note: See TracChangeset for help on using the changeset viewer.