+
+ # Compile libshared
+ $(MAKE) -C $(PKG_BUILD_DIR)/router/shared \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS) -I. -I$(PKG_BUILD_DIR)/include -Dlinux=1" \
+ all
+ $(TARGET_CC) -o $(PKG_BUILD_DIR)/nas \
+ $(PKG_BUILD_DIR)/nas_exe.o \
+ $(PKG_BUILD_DIR)/nvram/nvram_stub.o \
+ $(TARGET_LDFLAGS) \
+ $(PKG_BUILD_DIR)/router/shared/libshared.a