Skip to content

Commit

Permalink
Fixing build issues with Linaro-4.7.1 toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyAtall committed Jun 21, 2012
1 parent 42d050f commit 3d73fa0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
9 changes: 7 additions & 2 deletions arch/arm/boot/compressed/Makefile
Expand Up @@ -4,8 +4,12 @@
# create a compressed vmlinuz image from the original vmlinux
#

AFLAGS_head.o := -Wa,-march=armv6k
HEAD = head.o
OBJS = misc.o
AFLAGS_misc.o +=-Wa,-march=armv6k
MISC = misc.o
AFLAGS_piggy.o +=-Wa,-march=armv6k
PIGGY = piggy.o
FONTC = $(srctree)/drivers/video/console/font_acorn_8x8.c

#
Expand Down Expand Up @@ -91,14 +95,15 @@ LDFLAGS_vmlinux += -p --no-undefined -X \
# would otherwise mess up our GOT table
CFLAGS_misc.o := -Dstatic=

$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.o \
$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/$(MISC) $(obj)/$(PIGGY) \
$(addprefix $(obj)/, $(OBJS)) FORCE
$(call if_changed,ld)
@:

$(obj)/piggy.gz: $(obj)/../Image FORCE
$(call if_changed,gzip)

AFLAGS_piggy.$(suffix_y).o += -Wa,-march=armv6k
$(obj)/piggy.o: $(obj)/piggy.gz FORCE

CFLAGS_font.o := -Dstatic=
Expand Down
2 changes: 0 additions & 2 deletions include/linux/netfilter/x_tables.h
Expand Up @@ -201,8 +201,6 @@ struct xt_action_param {
const void *matchinfo, *targinfo;
};
const struct net_device *in, *out;
const struct xt_match *match;
const void *matchinfo;
int fragoff;
unsigned int thoff;
unsigned int hooknum;
Expand Down
1 change: 0 additions & 1 deletion include/sound/soc-dai.h
Expand Up @@ -221,7 +221,6 @@ struct snd_soc_dai {

/* parent codec/platform */
union {
struct snd_soc_codec *codec;
struct snd_soc_platform *platform;
};

Expand Down
2 changes: 1 addition & 1 deletion vendor_ti_wlan/ap/stad/build/linux/common.inc
Expand Up @@ -202,7 +202,7 @@ endif
##
##

EXTRA_CFLAGS += -fsigned-char -Werror
EXTRA_CFLAGS += -fsigned-char
EXTRA_CFLAGS += -D __LINUX__
EXTRA_CFLAGS += $(DK_DEFINES)
EXTRA_CFLAGS += $(PFORM_DEFINES)
2 changes: 1 addition & 1 deletion vendor_ti_wlan/sta/stad/build/linux/common.inc
Expand Up @@ -177,7 +177,7 @@ endif
##
##

EXTRA_CFLAGS += -fsigned-char -Werror
EXTRA_CFLAGS += -fsigned-char
EXTRA_CFLAGS += -D __LINUX__
EXTRA_CFLAGS += $(DK_DEFINES)
EXTRA_CFLAGS += $(PFORM_DEFINES)

0 comments on commit 3d73fa0

Please sign in to comment.