3 include $(TOPDIR
)/rules.mk
6 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
8 EXTRA_CFLAGS
:= -c
-I.
-I..
/include
14 $(PKG_BUILD_DIR
)/$(1): $(PKG_BUILD_DIR
)
15 $(TARGET_CC
) $(TARGET_CFLAGS
) $(EXTRA_CFLAGS
) -o
$$@
$$(patsubst %.o
,%.c
,$(1))
16 WLC_OBJS
+= $(PKG_BUILD_DIR
)/$(1)
20 $(foreach obj
,$(OBJS
),$(eval
$(call OBJ_template
,$(obj
))))
23 mkdir
-p
$(PKG_BUILD_DIR
)
25 $(PKG_BUILD_DIR
)/wlc
: $(WLC_OBJS
)
26 $(TARGET_CC
) -o
$@
$^
-L
$(BUILD_DIR
)/libshared
-lshared
28 $(TARGET_DIR
)/usr
/sbin
/wlc
: $(PKG_BUILD_DIR
)/wlc
32 compile
: $(PKG_BUILD_DIR
)/wlc
33 install: $(TARGET_DIR
)/usr
/sbin
/wlc
36 rm -rf
$(PKG_BUILD_DIR
)
This page took 0.039141 seconds and 5 git commands to generate.